diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-06-17 12:05:51 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-06-17 12:05:51 +0000 |
commit | 6178da0142a12e95c4f5c9f2da266b4d0a106322 (patch) | |
tree | 00eb8574c3e9da3d630b7cd2cfe80ac0a0815f64 /crypto/pkcs12/p12_attr.c | |
parent | 27713e3fc250fc37d98020b9e45c7a8135c64e52 (diff) |
Update from HEAD.
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 68d6c5ad15..e4d9c25647 100644 --- a/crypto/pkcs12/p12_attr.c +++ b/crypto/pkcs12/p12_attr.c @@ -139,7 +139,7 @@ char *PKCS12_get_friendlyname(PKCS12_SAFEBAG *bag) ASN1_TYPE *atype; if (!(atype = PKCS12_get_attr(bag, NID_friendlyName))) return NULL; if (atype->type != V_ASN1_BMPSTRING) return NULL; - return uni2asc(atype->value.bmpstring->data, + return OPENSSL_uni2asc(atype->value.bmpstring->data, atype->value.bmpstring->length); } |