diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2016-01-19 00:21:12 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-01-20 03:24:59 +0000 |
commit | 3aeb93486588e7dd01379c50b8fd496d55cf8858 (patch) | |
tree | e5d5793ef4786dbfac5c724e8235a3aa1ce323b2 /crypto/cmac | |
parent | a8eda4312db1f98cffda38670e2d40d36566785a (diff) | |
download | openssl-3aeb93486588e7dd01379c50b8fd496d55cf8858.tar.gz |
make EVP_PKEY opaque
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/cmac')
-rw-r--r-- | crypto/cmac/cm_ameth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/cmac/cm_ameth.c b/crypto/cmac/cm_ameth.c index 223631c3c0..d9a550e72b 100644 --- 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); } |