diff options
author | Pauli <ppzgs1@gmail.com> | 2021-02-25 04:52:06 +0100 |
---|---|---|
committer | Pauli <ppzgs1@gmail.com> | 2021-02-28 08:25:49 +0100 |
commit | 91593b37840067c588ce38bc628922d4b3400917 (patch) | |
tree | ffe8eff72a57ed44f83ea8d0fca21d50ad6b84b5 /providers | |
parent | prov: update provider util to be less agressive about changing things unneces... (diff) | |
download | openssl-91593b37840067c588ce38bc628922d4b3400917.tar.xz openssl-91593b37840067c588ce38bc628922d4b3400917.zip |
prov: use new MAC_init arguments in signature legacy code
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/14310)
Diffstat (limited to 'providers')
-rw-r--r-- | providers/implementations/signature/mac_legacy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/providers/implementations/signature/mac_legacy.c b/providers/implementations/signature/mac_legacy.c index 2386583069..fb99221f08 100644 --- a/providers/implementations/signature/mac_legacy.c +++ b/providers/implementations/signature/mac_legacy.c @@ -117,11 +117,11 @@ static int mac_digest_sign_init(void *vpmacctx, const char *mdname, void *vkey) (char *)mdname, (char *)engine, pmacctx->key->properties, - pmacctx->key->priv_key, - pmacctx->key->priv_key_len)) + NULL, 0)) return 0; - if (!EVP_MAC_init(pmacctx->macctx)) + if (!EVP_MAC_init(pmacctx->macctx, pmacctx->key->priv_key, + pmacctx->key->priv_key_len, NULL)) return 0; return 1; |