From 18fb1fae08c21123b96843e46491a8c3a94b1b8a Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 11 Apr 2012 15:11:16 +0000 Subject: [PATCH] oops, macro not present in OpenSSL 1.0.2 --- crypto/cmac/cmac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/cmac/cmac.c b/crypto/cmac/cmac.c index 8004ae04bf..8b72b09681 100644 --- a/crypto/cmac/cmac.c +++ b/crypto/cmac/cmac.c @@ -179,7 +179,7 @@ int CMAC_Init(CMAC_CTX *ctx, const void *key, size_t keylen, return 0; if (!EVP_EncryptInit_ex(&ctx->cctx, NULL, NULL, NULL, zero_iv)) return 0; - memset(ctx->tbl, 0, M_EVP_CIPHER_CTX_block_size(&ctx->cctx)); + memset(ctx->tbl, 0, EVP_CIPHER_CTX_block_size(&ctx->cctx)); ctx->nlast_block = 0; return 1; } -- 2.25.1