[PATCH] vircryptotest: Fix cipher test typo aes265cbc -> aes256cbc

Martin Kletzander posted 1 patch 1 year, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/89fd59f535f28f71b783bc8108d8c22826e78f14.1680270523.git.mkletzan@redhat.com
tests/vircryptotest.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] vircryptotest: Fix cipher test typo aes265cbc -> aes256cbc
Posted by Martin Kletzander 1 year, 1 month ago
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
---
Not pushing as trivial since after today I am so unsure and it's pre-release time =)

 tests/vircryptotest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/vircryptotest.c b/tests/vircryptotest.c
index 9fbaf2f636e5..9ffe70756e6e 100644
--- a/tests/vircryptotest.c
+++ b/tests/vircryptotest.c
@@ -150,7 +150,7 @@ mymain(void)
             ret = -1; \
     } while (0)
 
-    VIR_CRYPTO_ENCRYPT(VIR_CRYPTO_CIPHER_AES256CBC, "aes265cbc",
+    VIR_CRYPTO_ENCRYPT(VIR_CRYPTO_CIPHER_AES256CBC, "aes256cbc",
                        secretdata, 7, expected_ciphertext, 16);
 
 #undef VIR_CRYPTO_ENCRYPT
-- 
2.40.0
Re: [PATCH] vircryptotest: Fix cipher test typo aes265cbc -> aes256cbc
Posted by Daniel P. Berrangé 1 year, 1 month ago
On Fri, Mar 31, 2023 at 03:48:44PM +0200, Martin Kletzander wrote:
> Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
> ---
> Not pushing as trivial since after today I am so unsure and it's pre-release time =)

It is only the test name that gets printed out on console

> 
>  tests/vircryptotest.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>

> 
> diff --git a/tests/vircryptotest.c b/tests/vircryptotest.c
> index 9fbaf2f636e5..9ffe70756e6e 100644
> --- a/tests/vircryptotest.c
> +++ b/tests/vircryptotest.c
> @@ -150,7 +150,7 @@ mymain(void)
>              ret = -1; \
>      } while (0)
>  
> -    VIR_CRYPTO_ENCRYPT(VIR_CRYPTO_CIPHER_AES256CBC, "aes265cbc",
> +    VIR_CRYPTO_ENCRYPT(VIR_CRYPTO_CIPHER_AES256CBC, "aes256cbc",
>                         secretdata, 7, expected_ciphertext, 16);
>  
>  #undef VIR_CRYPTO_ENCRYPT
> -- 
> 2.40.0
> 

With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|