summaryrefslogtreecommitdiffstats
path: root/crypto/asn1
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2014-06-01 15:03:00 +0100
committerDr. Stephen Henson <steve@openssl.org>2014-06-01 15:04:35 +0100
commitf87c6a551e4098a1c71758d2738636b67a7013a7 (patch)
treeaa66f553406b12d6cbbf690e0694605c379590e6 /crypto/asn1
parent268ae494533da9f3a8ea06dd2943c2e656d48456 (diff)
Set default global mask to UTF8 only.
(cherry picked from commit 3009244da47b989c4cc59ba02cf81a4e9d8f8431)
Diffstat (limited to 'crypto/asn1')
-rw-r--r--crypto/asn1/a_strnid.c2
1 files changed, 1 insertions, 1 deletions
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)
{