diff options
author | Richard Levitte <levitte@openssl.org> | 2000-11-02 20:33:04 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-11-02 20:33:04 +0000 |
commit | 11c0f1201c2b26fc056fcb189b7d375d7163ffd0 (patch) | |
tree | 3407f64ca5b5f8b7d4d07ef2893b6ba98f7f3035 /apps | |
parent | 69e7805f54e6bcb665668b4c61e3da344c53278a (diff) |
Change the engine library so the application writer has to explicitely
load the "external" built-in engines (those that require DSO). This
makes linking with libdl or other dso libraries non-mandatory.
Change 'openssl engine' accordingly.
Change the engine header files so some declarations (that differed at
that!) aren't duplicated, and make sure engine_int.h includes
engine.h. That way, there should be no way of missing the needed
info.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/engine.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/engine.c b/apps/engine.c index 8abe04e808..ca5618b1a6 100644 --- a/apps/engine.c +++ b/apps/engine.c @@ -77,6 +77,7 @@ static char *engine_usage[]={ " -c - for each engine, also list the capabilities\n", #endif " -t - for each engine, check that they are really available\n", +" -l - load all built-in engines\n", NULL }; @@ -152,6 +153,8 @@ int MAIN(int argc, char **argv) list_cap=1; else if (strcmp(*argv,"-t") == 0) test_avail=1; + else if (strcmp(*argv,"-l") == 0) + ENGINE_load_builtin_engines(); else if ((strncmp(*argv,"-h",2) == 0) || (strcmp(*argv,"-?") == 0)) { |