From: Dr. Stephen Henson Date: Sun, 1 Jun 2014 14:03:00 +0000 (+0100) Subject: Set default global mask to UTF8 only. X-Git-Tag: OpenSSL_1_0_1h~16 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=49270d0431809e3a633ee865d73f0d7af89f9302;p=oweals%2Fopenssl.git Set default global mask to UTF8 only. (cherry picked from commit 3009244da47b989c4cc59ba02cf81a4e9d8f8431) --- diff --git a/crypto/asn1/a_strnid.c b/crypto/asn1/a_strnid.c index 2fc48c1551..2afd5a4136 100644 --- a/crypto/asn1/a_strnid.c +++ b/crypto/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) {