Index: openssl/crypto/pkcs12/p12_attr.c |
=================================================================== |
--- openssl/crypto/pkcs12/p12_attr.c (revision 105093) |
+++ openssl/crypto/pkcs12/p12_attr.c (working copy) |
@@ -60,12 +60,6 @@ |
#include "cryptlib.h" |
#include <openssl/pkcs12.h> |
-#ifdef OPENSSL_SYS_NETWARE |
-/* Rename these functions to avoid name clashes on NetWare OS */ |
-#define uni2asc OPENSSL_uni2asc |
-#define asc2uni OPENSSL_asc2uni |
-#endif |
- |
/* Add a local keyid to a safebag */ |
int PKCS12_add_localkeyid(PKCS12_SAFEBAG *bag, unsigned char *name, |
@@ -145,7 +139,7 @@ |
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); |
} |