diff options
author | Rich Salz <rsalz@openssl.org> | 2017-02-05 16:24:54 +0100 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2017-02-06 15:48:21 +0100 |
commit | be4c82aa767998ce2a5717fc895482052373f1b1 (patch) | |
tree | c8a132c44b928f7f69d7123ea1df9eb095b1f7be /apps/req.c | |
parent | Doc fix (diff) | |
download | openssl-be4c82aa767998ce2a5717fc895482052373f1b1.tar.xz openssl-be4c82aa767998ce2a5717fc895482052373f1b1.zip |
Fix parsing of serial# in req
Reported by Jakub Wilk.
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2556)
Diffstat (limited to 'apps/req.c')
-rw-r--r-- | apps/req.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/req.c b/apps/req.c index c4fc931a8e..00f2a413b6 100644 --- a/apps/req.c +++ b/apps/req.c @@ -121,7 +121,7 @@ const 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', |