projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sha/asm/keccak1600-armv4.pl: optimization based on profiler feedback.
[openssl.git]
/
crypto
/
pkcs12
/
p12_npas.c
diff --git
a/crypto/pkcs12/p12_npas.c
b/crypto/pkcs12/p12_npas.c
index f075bcacc324f9be499cf54ec5adda7db1f8c743..0ce75ed330ee53307852514f099312e39cffb91c 100644
(file)
--- a/
crypto/pkcs12/p12_npas.c
+++ b/
crypto/pkcs12/p12_npas.c
@@
-110,7
+110,7
@@
static int newpass_p12(PKCS12 *p12, const char *oldpass, const char *newpass)
if (!PKCS12_gen_mac(p12, newpass, -1, mac, &maclen))
goto err;
- X509_SIG_get
0_mutable
(p12->mac->dinfo, NULL, &macoct);
+ X509_SIG_get
m
(p12->mac->dinfo, NULL, &macoct);
if (!ASN1_OCTET_STRING_set(macoct, mac, maclen))
goto err;