summaryrefslogtreecommitdiffstats
path: root/apps/req.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/req.c')
-rw-r--r--apps/req.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/req.c b/apps/req.c
index dab67a0534..79425e5939 100644
--- a/apps/req.c
+++ b/apps/req.c
@@ -333,6 +333,8 @@ int req_main(int argc, char **argv)
if (argc != 0)
goto opthelp;
+ if (days && !x509)
+ BIO_printf(bio_err, "Ignoring -days; not generating a certificate");
if (x509 && infile == NULL)
newreq = 1;