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 dedc48839799a5c3614d09ab632acf69571e6e57..89932644fe14595b367ccfade34fc27f6c1932a5 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)
 {