Fix test_CMAC_keygen
Make sure we correctly pass through the size of the buffer to
EVP_DigestSignFinal
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16789)
diff --git a/test/evp_extra_test.c b/test/evp_extra_test.c
index 33c5a5b..b241387 100644
--- a/test/evp_extra_test.c
+++ b/test/evp_extra_test.c
@@ -2070,7 +2070,7 @@
{
EVP_MD_CTX *mdctx = EVP_MD_CTX_new();
const char msg[] = "Hello World";
- size_t maclen;
+ size_t maclen = AES_BLOCK_SIZE;
int ret = 1;
if (!TEST_ptr(mdctx)