summaryrefslogtreecommitdiff
path: root/lib/libcrypto/pkcs12
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-01-25 10:53:06 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-01-25 10:53:06 +0000
commitdce6402bf9a9986b34c94af128110f9914177595 (patch)
tree752cc0d2a4ec5bb71bee9978e963ac3a7e44c421 /lib/libcrypto/pkcs12
parent0ac2b1f0c1d8c54db63b4c3f0424ed63756334ab (diff)
Rename pkcs12_repack_safe() into pkcs12_repack_authsafes()
discussed with jsing
Diffstat (limited to 'lib/libcrypto/pkcs12')
-rw-r--r--lib/libcrypto/pkcs12/p12_npas.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcrypto/pkcs12/p12_npas.c b/lib/libcrypto/pkcs12/p12_npas.c
index b0858b6f2ba..23a5c5e7687 100644
--- a/lib/libcrypto/pkcs12/p12_npas.c
+++ b/lib/libcrypto/pkcs12/p12_npas.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: p12_npas.c,v 1.21 2024/01/25 10:44:39 tb Exp $ */
+/* $OpenBSD: p12_npas.c,v 1.22 2024/01/25 10:53:05 tb Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 1999.
*/
@@ -165,7 +165,7 @@ pkcs7_repack_encdata(PKCS7 *pkcs7, STACK_OF(PKCS7) *newsafes, const char *oldpas
}
static int
-pkcs12_repack_safe(PKCS12 *pkcs12, STACK_OF(PKCS7) *newsafes,
+pkcs12_repack_authsafes(PKCS12 *pkcs12, STACK_OF(PKCS7) *newsafes,
const char *newpass)
{
ASN1_OCTET_STRING *old_data;
@@ -234,7 +234,7 @@ newpass_p12(PKCS12 *p12, const char *oldpass, const char *newpass)
}
}
- if (!pkcs12_repack_safe(p12, newsafes, newpass))
+ if (!pkcs12_repack_authsafes(p12, newsafes, newpass))
goto err;
ret = 1;