aboutsummaryrefslogtreecommitdiffstats
path: root/apps/engine.c
Commit message (Collapse)AuthorAgeFilesLines
* Update from 1.0.0-stableDr. Stephen Henson2009-07-271-20/+20
|
* Stop warning about use of *printf() without a format.Dr. Stephen Henson2009-02-151-2/+2
|
* Make no-engine work again.Dr. Stephen Henson2008-12-201-1/+1
|
* More type-checking.Ben Laurie2008-06-041-20/+22
|
* Add missing prototype. Extend engine utility to print public key algorithms.Dr. Stephen Henson2006-06-011-0/+10
|
* fix problems found by coverity: remove useless codeNils Larsch2006-03-151-5/+0
|
* improve command line argument checkingNils Larsch2005-05-101-0/+4
| | | | PR: 1061
* const fixesNils Larsch2005-04-071-1/+1
|
* some const fixesNils Larsch2005-04-051-1/+1
|
* Use BUF_strlcpy() instead of strcpy().Richard Levitte2003-12-271-2/+2
| | | | | | | 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>
* Fix PEDANTIC stuff...Dr. Stephen Henson2003-03-131-7/+6
|
* Avoid warnings for no-engine and PEDANTICDr. Stephen Henson2003-03-121-0/+8
|
* Add the possibility to build without the ENGINE framework.Richard Levitte2003-01-301-0/+3
| | | | PR: 287
* "openssl engine" will not display ENGINE/DSO load failure errors whenGeoff Thorpe2003-01-301-4/+12
| | | | | testing availability of engines with "-t" - the old behaviour of is produced by increasing the feature's verbosity with "-tt".
* EXIT() may mean return(). That's confusing, so let's have it really meanRichard Levitte2002-12-031-1/+1
| | | | | | 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)
* Config code updates.Dr. Stephen Henson2002-02-221-0/+3
| | | | | | | | | | | | | | | | | | | 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.
* Change the order of events so the capabilities of loaded engines canRichard Levitte2001-11-141-6/+8
| | | | get listed as well.
* Make "openssl engine -c" list any supported digests as well as supportedGeoff Thorpe2001-10-011-4/+15
| | | | ciphers.
* Put the cipher info back into the "openssl engine" command.Geoff Thorpe2001-09-251-6/+7
|
* Make necessary tweaks to apps/ files due to recent ENGINE surgery. SeeGeoff Thorpe2001-09-251-0/+4
| | | | crypto/engine/README for details.
* Add first cut symmetric crypto support.Ben Laurie2001-08-181-1/+9
|
* Use apps_shutdown() in all applications, in case someone decides notRichard Levitte2001-06-231-0/+1
| | | | | | | 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.
* Modify "openssl engine" to handle and display internal controlRichard Levitte2001-06-201-52/+69
| | | | commands appropriately.
* Fix memory leaks.Dr. Stephen Henson2001-06-191-6/+9
|
* Win32 fixes:Dr. Stephen Henson2001-04-291-2/+2
| | | | | | define LLONG properly for VC++. stop compiler complaining about signed/unsigned mismatch in apps/engine.c
* Changes to "openssl engine" to support the new control command code inGeoff Thorpe2001-04-191-26/+253
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* Use new-style system-id macros everywhere possible. I hope I haven'tRichard Levitte2001-02-201-1/+1
| | | | | | | 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.
* Make all configuration macros available for application by makingRichard Levitte2001-02-191-1/+1
| | | | | | | | | | | | 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.
* Various Win32 related fixed. Make no-krb5 work in mkdef.pl .Dr. Stephen Henson2001-02-091-1/+1
| | | | | | | | Fix warning in apps/engine.c Remove definitions of deleted functions. Add missing definition of X509_VAL.
* Make all engines available in the openssl application.Richard Levitte2000-11-061-5/+0
|
* Change the engine library so the application writer has to explicitelyRichard Levitte2000-11-021-0/+3
| | | | | | | | | | | | 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.
* 'openssl engine' can now list engine capabilities. The currentRichard Levitte2000-11-021-14/+63
| | | | | | | 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.
* Better error reporting in 'openssl engine'Richard Levitte2000-11-021-7/+4
|
* -t is supported, so display some help about it.Richard Levitte2000-11-011-1/+1
|
* Add application to enumerate, list and test engines with.Richard Levitte2000-11-011-0/+199