projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
typo
[oweals/openssl.git]
/
crypto
/
cmac
/
cm_ameth.c
diff --git
a/crypto/cmac/cm_ameth.c
b/crypto/cmac/cm_ameth.c
index 223631c3c03b8f2ecc1f08d177dd0d1633bfcb56..d9a550e72b68243c5e2427c6dfc18c471cb503cc 100644
(file)
--- a/
crypto/cmac/cm_ameth.c
+++ b/
crypto/cmac/cm_ameth.c
@@
-69,7
+69,7
@@
static int cmac_size(const EVP_PKEY *pkey)
static void cmac_key_free(EVP_PKEY *pkey)
{
- CMAC_CTX *cmctx =
(CMAC_CTX *)pkey->pkey.ptr
;
+ CMAC_CTX *cmctx =
EVP_PKEY_get0(pkey)
;
CMAC_CTX_free(cmctx);
}