summaryrefslogtreecommitdiffstats
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:29 +0100
commit49270d0431809e3a633ee865d73f0d7af89f9302 (patch)
treed1ea44b487bcb15f083ea9dd85610159fe6e9830
parent673c42b2380c34e7500f05e7f00c674cc677a065 (diff)
Set default global mask to UTF8 only.
(cherry picked from commit 3009244da47b989c4cc59ba02cf81a4e9d8f8431)
-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)
{