summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/pkcs12/p12_mutl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/pkcs12/p12_mutl.c b/src/lib/libcrypto/pkcs12/p12_mutl.c
index 9a8a411c3f..7474bf5ff3 100644
--- a/src/lib/libcrypto/pkcs12/p12_mutl.c
+++ b/src/lib/libcrypto/pkcs12/p12_mutl.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: p12_mutl.c,v 1.29 2022/07/24 18:45:21 tb Exp $ */ 1/* $OpenBSD: p12_mutl.c,v 1.30 2022/07/25 05:06:06 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 1999. 3 * project 1999.
4 */ 4 */
@@ -118,7 +118,7 @@ PKCS12_gen_mac(PKCS12 *p12, const char *pass, int passlen,
118 if ((hmac = HMAC_CTX_new()) == NULL) 118 if ((hmac = HMAC_CTX_new()) == NULL)
119 goto err; 119 goto err;
120 if (!HMAC_Init_ex(hmac, key, md_size, md_type, NULL)) 120 if (!HMAC_Init_ex(hmac, key, md_size, md_type, NULL))
121 goto err; 121 goto err;
122 if (!HMAC_Update(hmac, p12->authsafes->d.data->data, 122 if (!HMAC_Update(hmac, p12->authsafes->d.data->data,
123 p12->authsafes->d.data->length)) 123 p12->authsafes->d.data->length))
124 goto err; 124 goto err;