summaryrefslogtreecommitdiffstats
path: root/crypto/pkcs12
diff options
context:
space:
mode:
authorDaniel Fiala <daniel@openssl.org>2022-10-07 08:56:54 +0200
committerHugo Landau <hlandau@openssl.org>2022-10-13 13:21:54 +0100
commitaf6379368f81025808689e843a5d86c6402a63a7 (patch)
tree662dbea493db70ac8213cbc980436bc063b04c37 /crypto/pkcs12
parent704e8090b4a789f52af07de9a3ebbe11db8e19f8 (diff)
Fix typo in PKCS12_SAFEBAG_set0_attrs
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)
Diffstat (limited to 'crypto/pkcs12')
-rw-r--r--crypto/pkcs12/p12_attr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/pkcs12/p12_attr.c b/crypto/pkcs12/p12_attr.c
index d9b2db9aaf..74cb55a8b5 100644
--- a/crypto/pkcs12/p12_attr.c
+++ b/crypto/pkcs12/p12_attr.c
@@ -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;
}