diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2015-09-27 12:41:53 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-02-08 18:43:48 +0000 |
commit | 762ee38d55b0d0ca2a2e744b8e59dbc9f39c68a0 (patch) | |
tree | 3462904d259c073af0f05db08d4354105627e8a2 /crypto/pkcs12/p12_attr.c | |
parent | e8503762da9df43a414fc5d6c2d0399779f0ff33 (diff) | |
download | openssl-762ee38d55b0d0ca2a2e744b8e59dbc9f39c68a0.tar.gz |
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.c | 2 |
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; |