]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix typo in PKCS12_SAFEBAG_set0_attrs
authorDaniel Fiala <daniel@openssl.org>
Fri, 7 Oct 2022 06:56:54 +0000 (08:56 +0200)
committerHugo Landau <hlandau@openssl.org>
Thu, 13 Oct 2022 12:21:54 +0000 (13:21 +0100)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19359)

crypto/pkcs12/p12_attr.c

index d9b2db9aaf8d9a67ba3e646ab1ddf642a3a86a1e..74cb55a8b5b1db634e86d254650db58597deba9f 100644 (file)
@@ -125,5 +125,5 @@ void PKCS12_SAFEBAG_set0_attrs(PKCS12_SAFEBAG *bag, const STACK_OF(X509_ATTRIBUT
     if (bag->attrib != attrs)
        sk_X509_ATTRIBUTE_free(bag->attrib);
 
-    bag->attrib = (STACK_OF(X509_ATTRIBUTE*))attrs;
+    bag->attrib = (STACK_OF(X509_ATTRIBUTE) *)attrs;
 }