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:49 +0000 (15:04 +0100)
(cherry picked from commit 3009244da47b989c4cc59ba02cf81a4e9d8f8431)

crypto/asn1/a_strnid.c

index b68ae433d4ea6ac3390e5e618f349eae09370be8..9b7d68810f906db282f31438bfb5d8498868f057 100644 (file)
@@ -75,7 +75,7 @@ static int table_cmp(const void *a, const void *b);
  * 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)
 {