From efba7787cd0036d667943070265ca8aef59e9d00 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Wed, 24 Aug 2016 13:36:07 +0100 Subject: Clarify the error messages in 08f6ae5b28 Ensure it is clear to the user why there has been an error. Reviewed-by: Rich Salz --- apps/x509.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/x509.c') 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) -- cgit v1.2.3