When using "-nameopt" with the x509/req/ca commands, OpenSSL will
currently "abort" the output if no sep_xxx option is provided. Examining
the certificate from https://rt.openssl.org with "openssl 509 -noout
-text -nameopt utf8" e.g. gives

Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number:
            01:00:00:00:00:01:1c:57:8e:3a:eb
        Signature Algorithm: sha1WithRSAEncryption
        Issuer:

I propose the attached patch, which adds "sep_comma_plus_space" if no
other sep_xxx option is provided through the nameopt switch.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to