diff options
author | levitte <levitte> | 2000-11-02 20:32:47 +0000 |
---|---|---|
committer | levitte <levitte> | 2000-11-02 20:32:47 +0000 |
commit | 88a713b2035e27275d7ff084ecff10a199552c00 (patch) | |
tree | 5f1d736f5f8856083bcd9061541d78513e3890db /apps | |
parent | 5c1a5a1a96309b2d05690616fcef6f85d3f6f665 (diff) | |
download | openssl-88a713b2035e27275d7ff084ecff10a199552c00.tar.gz |
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 8abe04e80..ca5618b1a 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)) { |