summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorTomas Mraz <tmraz@fedoraproject.org>2020-04-16 12:07:35 +0200
committerTomas Mraz <tmraz@fedoraproject.org>2020-04-17 13:36:25 +0200
commita38369db32b88923282ee360d2bee78fd617e56e (patch)
tree338a1ab87e3a78006fea50736fc6afc46636dbff /apps
parent18fefa35f6a28bc12918fc3b3ed881696d3f438b (diff)
s_time: Allow using -CAfile option as in other commands
The s_time command in difference from all the other similar commands supported -cafile option instead of -CAfile. Add the -CAfile option and keep -cafile only for backwards compatibility. Fixes #11552 Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/11555)
Diffstat (limited to 'apps')
-rw-r--r--apps/s_time.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/s_time.c b/apps/s_time.c
index 82d40a5a51..d52f525eac 100644
--- a/apps/s_time.c
+++ b/apps/s_time.c
@@ -62,6 +62,7 @@ const OPTIONS s_time_options[] = {
{"key", OPT_KEY, '<', "File with key, PEM; default is -cert file"},
{"CApath", OPT_CAPATH, '/', "PEM format directory of CA's"},
{"cafile", OPT_CAFILE, '<', "PEM format file of CA's"},
+ {"CAfile", OPT_CAFILE, '<', "PEM format file of CA's"},
{"no-CAfile", OPT_NOCAFILE, '-',
"Do not load the default certificates file"},
{"no-CApath", OPT_NOCAPATH, '-',