summaryrefslogtreecommitdiffstats
path: root/apps/x509.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/x509.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/x509.c')
-rw-r--r--apps/x509.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/x509.c b/apps/x509.c
index 9e5101259f..20db458d10 100644
--- a/apps/x509.c
+++ b/apps/x509.c
@@ -262,7 +262,7 @@ int x509_main(int argc, char **argv)
break;
case OPT_SET_SERIAL:
if (sno != NULL) {
- /* Cannot be supplied twice */
+ BIO_printf(bio_err, "Serial number supplied twice\n");
goto opthelp;
}
if ((sno = s2i_ASN1_INTEGER(NULL, opt_arg())) == NULL)