diff options
author | Rich Salz <rsalz@openssl.org> | 2017-02-05 10:24:54 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2017-02-06 09:54:45 -0500 |
commit | 85342b7d4ffa26fb0316c9cb5574a0d0bedc8a1e (patch) | |
tree | 2c55a6e2ec64fc31af81f9c0d3ea283ea6474eae /apps | |
parent | 1b5d6d63459ba4411283de120d7f146084b861c6 (diff) |
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)
(cherry picked from commit be4c82aa767998ce2a5717fc895482052373f1b1)
Diffstat (limited to 'apps')
-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 2707dc9e36..e8951aecf9 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', |