Set default global mask to UTF8 only.
authorDr. Stephen Henson <steve@openssl.org>
Sun, 1 Jun 2014 14:03:00 +0000 (15:03 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 1 Jun 2014 14:04:21 +0000 (15:04 +0100)
(cherry picked from commit 3009244da47b989c4cc59ba02cf81a4e9d8f8431)

crypto/asn1/a_strnid.c

index 2fc48c1551a5d40247b2d04f45679004e182bbd1..2afd5a41368d6274eb99874569e062272aa53c8a 100644 (file)
@@ -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)
 {