Skip to content

Commit

Permalink
Fix typo in PKCS12_SAFEBAG_set0_attrs
Browse files Browse the repository at this point in the history
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from #19359)
  • Loading branch information
faramir-dev authored and hlandau committed Oct 13, 2022
1 parent 704e809 commit af63793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/pkcs12/p12_attr.c
Expand Up @@ -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;
}

0 comments on commit af63793

Please sign in to comment.