[openssl-commits] [openssl] OpenSSL_1_1_0-stable update
Rich Salz
rsalz at openssl.org
Mon Feb 6 14:54:52 UTC 2017
The branch OpenSSL_1_1_0-stable has been updated
via 85342b7d4ffa26fb0316c9cb5574a0d0bedc8a1e (commit)
from 1b5d6d63459ba4411283de120d7f146084b861c6 (commit)
- Log -----------------------------------------------------------------
commit 85342b7d4ffa26fb0316c9cb5574a0d0bedc8a1e
Author: Rich Salz <rsalz at openssl.org>
Date: Sun Feb 5 10:24:54 2017 -0500
Fix parsing of serial# in req
Reported by Jakub Wilk.
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2556)
(cherry picked from commit be4c82aa767998ce2a5717fc895482052373f1b1)
-----------------------------------------------------------------------
Summary of changes:
apps/req.c | 2 +-
doc/apps/req.pod | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/apps/req.c b/apps/req.c
index 2707dc9..e8951ae 100644
--- a/apps/req.c
+++ b/apps/req.c
@@ -121,7 +121,7 @@ OPTIONS req_options[] = {
{"multivalue-rdn", OPT_MULTIVALUE_RDN, '-',
"Enable support for multivalued RDNs"},
{"days", OPT_DAYS, 'p', "Number of days cert is valid for"},
- {"set_serial", OPT_SET_SERIAL, 'p', "Serial number to use"},
+ {"set_serial", OPT_SET_SERIAL, 's', "Serial number to use"},
{"extensions", OPT_EXTENSIONS, 's',
"Cert extension section (override value in config file)"},
{"reqexts", OPT_REQEXTS, 's',
diff --git a/doc/apps/req.pod b/doc/apps/req.pod
index 8362f53..8ba04ae 100644
--- a/doc/apps/req.pod
+++ b/doc/apps/req.pod
@@ -242,7 +242,6 @@ days to certify the certificate for. The default is 30 days.
serial number to use when outputting a self signed certificate. This
may be specified as a decimal value or a hex value if preceded by B<0x>.
-It is possible to use negative serial numbers but this is not recommended.
=item B<-extensions section>
More information about the openssl-commits
mailing list