diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-06-27 10:28:45 +0200 |
---|---|---|
committer | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-08-04 09:17:47 +0200 |
commit | 57c05c57c3aab2755ec6eeae5d1800ac9cbd2f6d (patch) | |
tree | e880975a593a1b24c3d9276fe4cde84dfd2b9702 /apps/req.c | |
parent | 02ae130e3dd1e4b4252692f65cb1f975bfe47935 (diff) |
apps: Correct and extend diagnostics of parse_name()
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12296)
Diffstat (limited to 'apps/req.c')
-rw-r--r-- | apps/req.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/req.c b/apps/req.c index 8931e9829f..46739554bd 100644 --- a/apps/req.c +++ b/apps/req.c @@ -1078,7 +1078,7 @@ static int build_subject(X509_REQ *req, const char *subject, unsigned long chtyp { X509_NAME *n; - if ((n = parse_name(subject, chtype, multirdn)) == NULL) + if ((n = parse_name(subject, chtype, multirdn, "subject")) == NULL) return 0; if (!X509_REQ_set_subject_name(req, n)) { |