Skip to content

Commit

Permalink
Use -nameopt utf8 by default
Browse files Browse the repository at this point in the history
Reviewed-by: Paul Dale <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
(Merged from openssl#16583)
  • Loading branch information
beldmit committed Sep 21, 2021
1 parent dc18f03 commit 86cfd13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/lib/apps.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 86cfd13

Please sign in to comment.