diff options
author | Dmitry Belyavskiy <beldmit@gmail.com> | 2021-09-11 13:56:28 +0200 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@gmail.com> | 2021-09-21 14:08:41 +0200 |
commit | 86cfd132ffc4f6198cc640a29c293850c0a59914 (patch) | |
tree | a9ac0702de68bc5675772684076ee0a7c29bfb00 /apps | |
parent | dc18f036f161e1e49e1d001046716c77d1699e70 (diff) |
Use -nameopt utf8 by default
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16583)
Diffstat (limited to 'apps')
-rw-r--r-- | apps/lib/apps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/lib/apps.c b/apps/lib/apps.c index 43c01401e8..6fe99422b9 100644 --- a/apps/lib/apps.c +++ b/apps/lib/apps.c @@ -197,7 +197,7 @@ int set_nameopt(const char *arg) unsigned long get_nameopt(void) { - return (nmflag_set) ? nmflag : XN_FLAG_ONELINE; + return (nmflag_set) ? nmflag : XN_FLAG_SEP_CPLUS_SPC | ASN1_STRFLGS_UTF8_CONVERT; } void dump_cert_text(BIO *out, X509 *x) |