summaryrefslogtreecommitdiffstats
path: root/apps/include
diff options
context:
space:
mode:
authorPauli <pauli@openssl.org>2021-07-08 11:22:14 +1000
committerPauli <pauli@openssl.org>2021-07-12 09:13:41 +1000
commit242dfd8a1b93326d200383948a8d57db5ce57de0 (patch)
tree78a8f00fdf180b0bc3a3dba09ac31ddbff63798d /apps/include
parentac1e85f464568d14962162fe97670a53f11f6bfc (diff)
apps: add query to allow a command to know of a provider command line option was processed
Better fixing: Fixing #15683 Fixing #15686 Replacing rather than fixing: Fixing #15414 Since that claims to fix another: Fixing #15372 Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16022)
Diffstat (limited to 'apps/include')
-rw-r--r--apps/include/opt.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/include/opt.h b/apps/include/opt.h
index ce0e35cd72..4f83a0ed53 100644
--- a/apps/include/opt.h
+++ b/apps/include/opt.h
@@ -388,8 +388,13 @@ int opt_pair(const char *arg, const OPT_PAIR * pairs, int *result);
int opt_verify(int i, X509_VERIFY_PARAM *vpm);
int opt_rand(int i);
int opt_provider(int i);
+int opt_provider_option_given(void);
char **opt_rest(void);
int opt_num_rest(void);
+/* Returns non-zero if legacy paths are still available */
+int opt_legacy_okay(void);
+
+
#endif /* OSSL_APPS_OPT_H */