summaryrefslogtreecommitdiffstats
path: root/crypto/pkcs12/p12_attr.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2015-09-27 12:41:53 +0100
committerDr. Stephen Henson <steve@openssl.org>2016-02-08 18:43:48 +0000
commit762ee38d55b0d0ca2a2e744b8e59dbc9f39c68a0 (patch)
tree3462904d259c073af0f05db08d4354105627e8a2 /crypto/pkcs12/p12_attr.c
parente8503762da9df43a414fc5d6c2d0399779f0ff33 (diff)
Use new names
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/pkcs12/p12_attr.c')
-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 454db9e46e..fba35cd63b 100644
--- a/crypto/pkcs12/p12_attr.c
+++ b/crypto/pkcs12/p12_attr.c
@@ -130,7 +130,7 @@ char *PKCS12_get_friendlyname(PKCS12_SAFEBAG *bag)
{
ASN1_TYPE *atype;
- if ((atype = PKCS12_get_attr(bag, NID_friendlyName)) == NULL)
+ if ((atype = PKCS12_SAFEBAG_get0_attr(bag, NID_friendlyName)) == NULL)
return NULL;
if (atype->type != V_ASN1_BMPSTRING)
return NULL;