summaryrefslogtreecommitdiffstats
path: root/apps/include
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2020-09-11 03:50:09 +1000
committerShane Lontis <shane.lontis@oracle.com>2020-09-11 03:50:09 +1000
commit9a62ccbe8a73101d2cfcdf7902b6fe10da7602c9 (patch)
treed12d736be0605e05aa2d0000a4cb563c1e76b2b6 /apps/include
parent9f604ca13ddc99e17ba37fed9281fbd1b71149a9 (diff)
Fix fipsinstall module path
If a path is specified with the -module option it will use this path to load the library when the provider is activated, instead of also having to set the environment variable OPENSSL_MODULES. Added a platform specific opt_path_end() function that uses existing functionality used by opt_progname(). Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/12761)
Diffstat (limited to 'apps/include')
-rw-r--r--apps/include/opt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/include/opt.h b/apps/include/opt.h
index a35fe327cf..56de57cf4c 100644
--- a/apps/include/opt.h
+++ b/apps/include/opt.h
@@ -339,6 +339,7 @@ typedef struct string_int_pair_st {
#define OPT_SECTION(sec) { OPT_SECTION_STR, 1, '-', sec " options:\n" }
#define OPT_PARAMETERS() { OPT_PARAM_STR, 1, '-', "Parameters:\n" }
+const char *opt_path_end(const char *filename);
char *opt_progname(const char *argv0);
char *opt_getprog(void);
char *opt_init(int ac, char **av, const OPTIONS * o);