summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2021-01-06 12:16:44 +0100
committerDr. David von Oheimb <dev@ddvo.net>2021-01-13 11:53:15 +0100
commit04a1b3fa7b6090aaca88d2d884de847822e89bef (patch)
treed89b8b4773a77f2e5e4be17b70a4378b8525f680 /apps
parent0ae8d4ca9e2db5fd93683dbc42d28c2eba18045d (diff)
apps/req.c: Make sure -verify option takes effect also with -x509
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/13658)
Diffstat (limited to 'apps')
-rw-r--r--apps/req.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/req.c b/apps/req.c
index 3aef8882a8..8c66f2a5fb 100644
--- a/apps/req.c
+++ b/apps/req.c
@@ -104,7 +104,7 @@ const OPTIONS req_options[] = {
#endif
{"in", OPT_IN, '<', "X.509 request input file"},
{"inform", OPT_INFORM, 'F', "Input format - DER or PEM"},
- {"verify", OPT_VERIFY, '-', "Verify signature on REQ"},
+ {"verify", OPT_VERIFY, '-', "Verify self-signature on the request"},
OPT_SECTION("Certificate"),
{"new", OPT_NEW, '-', "New request"},
@@ -932,7 +932,7 @@ int req_main(int argc, char **argv)
}
}
- if (verify && !gen_x509) {
+ if (verify) {
EVP_PKEY *tpubkey = pkey;
if (tpubkey == NULL) {