summaryrefslogtreecommitdiffstats
path: root/apps/req.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-08-24 13:36:07 +0100
committerMatt Caswell <matt@openssl.org>2016-08-24 14:49:40 +0100
commitefba7787cd0036d667943070265ca8aef59e9d00 (patch)
treea2f56a2e3a56013af291686edbfa7759737cd4c0 /apps/req.c
parent0a307450bfdd570a09235a7ba16d6c8243bbe275 (diff)
Clarify the error messages in 08f6ae5b28
Ensure it is clear to the user why there has been an error. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'apps/req.c')
-rw-r--r--apps/req.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/req.c b/apps/req.c
index fb37f7dfec..8ebe1eca6d 100644
--- a/apps/req.c
+++ b/apps/req.c
@@ -296,7 +296,7 @@ int req_main(int argc, char **argv)
break;
case OPT_SET_SERIAL:
if (serial != NULL) {
- /* Cannot be supplied twice */
+ BIO_printf(bio_err, "Serial number supplied twice\n");
goto opthelp;
}
serial = s2i_ASN1_INTEGER(NULL, opt_arg());