diff options
author | 2014-05-31 20:16:31 +0000 | |
---|---|---|
committer | 2014-05-31 20:16:31 +0000 | |
commit | 027d845c348a1a2c2dae03e3af70ba266618ef61 (patch) | |
tree | 80f6099c32bd5e5e5d734c2aa36e585320ae4b3f /lib/libssl/src | |
parent | Reduce MAXSSIZ to 32MB to match all other platforms; noticed by tobiasu@ (diff) | |
download | wireguard-openbsd-027d845c348a1a2c2dae03e3af70ba266618ef61.tar.xz wireguard-openbsd-027d845c348a1a2c2dae03e3af70ba266618ef61.zip |
Change the actual default for returned asn1 strings to be utf8 in the code,
rather than only in the config file, to trip people up later.
Found, and fix pleaded for by <spider@skuggor.se> who apparently
spent hours chasing it down.
ok miod@
Diffstat (limited to 'lib/libssl/src')
-rw-r--r-- | lib/libssl/src/crypto/asn1/a_strnid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libssl/src/crypto/asn1/a_strnid.c b/lib/libssl/src/crypto/asn1/a_strnid.c index d1b804aec12..ac5c374d33e 100644 --- a/lib/libssl/src/crypto/asn1/a_strnid.c +++ b/lib/libssl/src/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) |