diff options
Diffstat (limited to 'apps/x509.c')
-rw-r--r-- | apps/x509.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/x509.c b/apps/x509.c index d8f69c08eb..fbe4b8cefe 100644 --- a/apps/x509.c +++ b/apps/x509.c @@ -536,7 +536,8 @@ int x509_main(int argc, char **argv) "The -new option requires a subject to be set using -subj\n"); goto end; } - if (subj != NULL && (fsubj = parse_name(subj, chtype, multirdn)) == NULL) + if (subj != NULL + && (fsubj = parse_name(subj, chtype, multirdn, "subject")) == NULL) goto end; if (CAkeyfile == NULL && CA_flag && CAformat == FORMAT_PEM) { |