From 60e3bbc332c051c281ca1383101dbd67e02e4ffa Mon Sep 17 00:00:00 2001 From: Bob Beck Date: Sat, 31 May 2014 20:16:32 +0000 Subject: Change the actual default for returned asn1 strings to be utf8 in the code, rather than only in the config file, to trip people up later. Found, and fix pleaded for by who apparently spent hours chasing it down. ok miod@ --- lib/libcrypto/asn1/a_strnid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libcrypto/asn1/a_strnid.c b/lib/libcrypto/asn1/a_strnid.c index d1b804aec12..ac5c374d33e 100644 --- a/lib/libcrypto/asn1/a_strnid.c +++ b/lib/libcrypto/asn1/a_strnid.c @@ -74,7 +74,7 @@ static int sk_table_cmp(const ASN1_STRING_TABLE * const *a, * certain software (e.g. Netscape) has problems with them. */ -static unsigned long global_mask = 0xFFFFFFFFL; +static unsigned long global_mask = B_ASN1_UTF8STRING; void ASN1_STRING_set_default_mask(unsigned long mask) -- cgit v1.2.3