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:03:00 +0000 (15:03 +0100)
crypto/asn1/a_strnid.c

index dedc488..8993264 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)
 {