summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-04-11 15:11:16 +0000
committerDr. Stephen Henson <steve@openssl.org>2012-04-11 15:11:16 +0000
commit18fb1fae08c21123b96843e46491a8c3a94b1b8a (patch)
tree3d2f094b428d9388cc7bd9992458cbfae1e4b77a /crypto
parent39ef161c72f145eef1feb000c8e9f1437a873d7f (diff)
oops, macro not present in OpenSSL 1.0.2
Diffstat (limited to 'crypto')
-rw-r--r--crypto/cmac/cmac.c2
1 files changed, 1 insertions, 1 deletions
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;
}