Commit ca1cb0d4 authored by Tomas Mraz's avatar Tomas Mraz Committed by Rich Salz
Browse files

Fix irregularities in GENERAL_NAME_print().



Add colon when printing Registered ID.
Remove extra space when printing DirName.

Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
Reviewed-by: default avatarKurt Roeckx <kurt@openssl.org>
Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1401)
parent a6f5d614
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -180,7 +180,7 @@ int GENERAL_NAME_print(BIO *out, GENERAL_NAME *gen)
        break;

    case GEN_RID:
        BIO_printf(out, "Registered ID");
        BIO_printf(out, "Registered ID:");
        i2a_ASN1_OBJECT(out, gen->d.rid);
        break;
    }