projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add -trusted_first option and verify flag (backport from HEAD)
[oweals/openssl.git]
/
crypto
/
cmac
/
cmac.c
diff --git
a/crypto/cmac/cmac.c
b/crypto/cmac/cmac.c
index 8004ae04bf35bcbe59d5005670be476ac445e9bd..8b72b096813c61c032f76270b45670f1a134b69e 100644
(file)
--- 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;
}