summaryrefslogtreecommitdiffstats
path: root/apps/engine.c
AgeCommit message (Collapse)Author
2009-07-27Change STRING to OPENSSL_STRING etc as common words suchDr. Stephen Henson
as "STRING" cause conflicts with other headers/libraries.
2009-02-15Stop warning about use of *printf() without a format.Dr. Stephen Henson
2008-12-20Make no-engine work again.Dr. Stephen Henson
2008-06-04More type-checking.Ben Laurie
2006-06-01Add missing prototype. Extend engine utility to print public key algorithms.Dr. Stephen Henson
2006-03-15fix problems found by coverity: remove useless codeNils Larsch
2005-05-10improve command line argument checkingNils Larsch
PR: 1061
2005-04-07const fixesNils Larsch
2005-04-05some const fixesNils Larsch
2003-12-27Use BUF_strlcpy() instead of strcpy().Richard Levitte
Use BUF_strlcat() instead of strcat(). Use BIO_snprintf() instead of sprintf(). In some cases, keep better track of buffer lengths. This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
2003-03-13Fix PEDANTIC stuff...Dr. Stephen Henson
2003-03-12Avoid warnings for no-engine and PEDANTICDr. Stephen Henson
2003-01-30Add the possibility to build without the ENGINE framework.Richard Levitte
PR: 287
2003-01-30"openssl engine" will not display ENGINE/DSO load failure errors whenGeoff Thorpe
testing availability of engines with "-t" - the old behaviour of is produced by increasing the feature's verbosity with "-tt".
2002-12-03EXIT() may mean return(). That's confusing, so let's have it really meanRichard Levitte
exit() in whatever way works for the intended platform, and define OPENSSL_EXIT() to have the old meaning (the name is of course because it's only used in the openssl program)
2002-02-22Config code updates.Dr. Stephen Henson
CONF_modules_unload() now calls CONF_modules_finish() automatically. Default use of section openssl_conf moved to CONF_modules_load() Load config file in several openssl utilities. Most utilities now load modules from the config file, though in a few (such as version) this isn't done because it couldn't be used for anything. In the case of ca and req the config file used is the same as the utility itself: that is the -config command line option can be used to specify an alternative file.
2001-11-14Change the order of events so the capabilities of loaded engines canRichard Levitte
get listed as well.
2001-10-01Make "openssl engine -c" list any supported digests as well as supportedGeoff Thorpe
ciphers.
2001-09-25Put the cipher info back into the "openssl engine" command.Geoff Thorpe
2001-09-25Make necessary tweaks to apps/ files due to recent ENGINE surgery. SeeGeoff Thorpe
crypto/engine/README for details.
2001-08-18Add first cut symmetric crypto support.Ben Laurie
2001-06-23Use apps_shutdown() in all applications, in case someone decides notRichard Levitte
to go the monolith way (does anyone do that these days?). NOTE: a few applications are missing in this commit. I've a few more changes in them that I haven't tested yet.
2001-06-20Modify "openssl engine" to handle and display internal controlRichard Levitte
commands appropriately.
2001-06-19Fix memory leaks.Dr. Stephen Henson
2001-04-29Win32 fixes:Dr. Stephen Henson
define LLONG properly for VC++. stop compiler complaining about signed/unsigned mismatch in apps/engine.c
2001-04-19Changes to "openssl engine" to support the new control command code inGeoff Thorpe
ENGINE. * Extra verbosity can be added with more "v"'s, eg. '-vvv' gives information about input flags and descriptions for each control command in each ENGINE. Check the output of "openssl engine -vvv" for example. * '-pre <cmd>' and '-post <cmd>' can be used to invoke control commands on the specified ENGINE (or on all of them if no engine id is specified, although that usually gets pretty ugly). '-post' commands are only attempted if '-t' is specified and the engine successfully initialises. '-pre' commands are always attempted whether or not '-t' causes an initialisation to be tried afterwards. Multiple '-pre' and/or '-post' commands can be specified and they will be called in the order they occur on the command line. Parameterised commands (the normal case, there are currently no unparameterised ones) are split into command and argument via a separating colon. Eg. "openssl engine -pre SO_PATH:/lib/libdriver.so <id>" results in the call; ENGINE_ctrl_cmd_string(e, "SO_PATH", "/lib/libdriver.so", 0); Application code should similarly allow arbitrary name-value string pairs to be passed into ENGINEs in a manner matching that in apps/engine.c, either using the same colon-separated format, or entered as two distinct strings. Eg. as stored in a registry. The last parameter of ENGINE_ctrl_cmd_string can be changed from 0 to 1 if the command should only be attempted if it's supported by the specified ENGINE (eg. for commands like "FORK_CHECK:1" that may or may not apply to the run-time ENGINE).
2001-02-20Use new-style system-id macros everywhere possible. I hope I haven'tRichard Levitte
missed any. This compiles and runs on Linux, and external applications have no problems with it. The definite test will be to build this on VMS.
2001-02-19Make all configuration macros available for application by makingRichard Levitte
sure they are available in opensslconf.h, by giving them names starting with "OPENSSL_" to avoid conflicts with other packages and by making sure e_os2.h will cover all platform-specific cases together with opensslconf.h. I've checked fairly well that nothing breaks with this (apart from external software that will adapt if they have used something like NO_KRB5), but I can't guarantee it completely, so a review of this change would be a good thing.
2001-02-09Various Win32 related fixed. Make no-krb5 work in mkdef.pl .Dr. Stephen Henson
Fix warning in apps/engine.c Remove definitions of deleted functions. Add missing definition of X509_VAL.
2000-11-06Make all engines available in the openssl application.Richard Levitte
2000-11-02Change the engine library so the application writer has to explicitelyRichard Levitte
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.
2000-11-02'openssl engine' can now list engine capabilities. The currentRichard Levitte
implementation is contained in the application, and the capability string building part should really be part of the engine library. This is therefore an experimental hack, and will be changed in the near future.
2000-11-02Better error reporting in 'openssl engine'Richard Levitte
2000-11-01-t is supported, so display some help about it.Richard Levitte
2000-11-01Add application to enumerate, list and test engines with.Richard Levitte