projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Constify various mostly X509-related parameter types in crypto/ and apps/
[oweals/openssl.git]
/
crypto
/
evp
/
pkey_mac.c
diff --git
a/crypto/evp/pkey_mac.c
b/crypto/evp/pkey_mac.c
index 597498c47cab9db489df11f997dcc32d2c17c26c..c664a87cb1ea003d98a2cb242802a82764cd8054 100644
(file)
--- a/
crypto/evp/pkey_mac.c
+++ b/
crypto/evp/pkey_mac.c
@@
-310,8
+310,7
@@
static int pkey_mac_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2)
if (ctx->pkey == NULL)
return 0;
- new_mac_ctx = EVP_MAC_CTX_dup((EVP_MAC_CTX *)ctx->pkey
- ->pkey.ptr);
+ new_mac_ctx = EVP_MAC_CTX_dup(ctx->pkey->pkey.ptr);
if (new_mac_ctx == NULL)
return 0;
EVP_MAC_CTX_free(hctx->ctx);