summaryrefslogtreecommitdiff
path: root/apps/ocsp.c
diff options
context:
space:
mode:
authorDavid Cooper <david.cooper@nist.gov>2018-01-23 14:22:17 -0500
committerMatt Caswell <matt@openssl.org>2018-01-24 18:30:31 +0000
commit0494014781d2e348996f55acca0d179b09f9499f (patch)
treef9aa940eaf2f529dfe914b7ac3d17c9228d3938a /apps/ocsp.c
parent89623f84299a66761ba4c69f01dbd86fc584d0a3 (diff)
downloadopenssl-new-0494014781d2e348996f55acca0d179b09f9499f.tar.gz
Make editorial changes suggested by Matt Caswell and fixed Travis failures.
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4190)
Diffstat (limited to 'apps/ocsp.c')
-rw-r--r--apps/ocsp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/ocsp.c b/apps/ocsp.c
index b9bad81f24..4a68e52d74 100644
--- a/apps/ocsp.c
+++ b/apps/ocsp.c
@@ -78,7 +78,7 @@ typedef enum OPTION_choice {
OPT_VALIDITY_PERIOD, OPT_STATUS_AGE, OPT_SIGNKEY, OPT_REQOUT,
OPT_RESPOUT, OPT_PATH, OPT_ISSUER, OPT_CERT, OPT_SERIAL,
OPT_INDEX, OPT_CA, OPT_NMIN, OPT_REQUEST, OPT_NDAYS, OPT_RSIGNER,
- OPT_RKEY, OPT_ROTHER, OPT_RMD, OPT_SIGOPT, OPT_HEADER,
+ OPT_RKEY, OPT_ROTHER, OPT_RMD, OPT_RSIGOPT, OPT_HEADER,
OPT_V_ENUM,
OPT_MD
} OPTION_CHOICE;
@@ -155,7 +155,7 @@ const OPTIONS ocsp_options[] = {
{"rkey", OPT_RKEY, '<', "Responder key to sign responses with"},
{"rother", OPT_ROTHER, '<', "Other certificates to include in response"},
{"rmd", OPT_RMD, 's', "Digest Algorithm to use in signature of OCSP response"},
- {"rsigopt", OPT_SIGOPT, 's', "OCSP response signature parameter in n:v form"},
+ {"rsigopt", OPT_RSIGOPT, 's', "OCSP response signature parameter in n:v form"},
{"header", OPT_HEADER, 's', "key=value header to add"},
{"", OPT_MD, '-', "Any supported digest algorithm (sha1,sha256, ... )"},
OPT_V_OPTIONS,
@@ -422,7 +422,7 @@ int ocsp_main(int argc, char **argv)
if (!opt_md(opt_arg(), &rsign_md))
goto end;
break;
- case OPT_SIGOPT:
+ case OPT_RSIGOPT:
if (rsign_sigopts == NULL)
rsign_sigopts = sk_OPENSSL_STRING_new_null();
if (rsign_sigopts == NULL || !sk_OPENSSL_STRING_push(rsign_sigopts, opt_arg()))