summaryrefslogtreecommitdiff
path: root/crypto/engine/enginetest.c
Commit message (Collapse)AuthorAgeFilesLines
* Make no-engine work again.Dr. Stephen Henson2008-12-201-1/+1
|
* Remove the dual-callback scheme for numeric and pointer thread IDs,Geoff Thorpe2008-08-061-1/+1
| | | | | | | | | deprecate the original (numeric-only) scheme, and replace with the CRYPTO_THREADID object. This hides the platform-specifics and should reduce the possibility for programming errors (where failing to explicitly check both thread ID forms could create subtle, platform-specific bugs). Thanks to Bodo, for invaluable review and feedback.
* Revert my earlier CRYPTO_THREADID commit, I will commit a reworkedGeoff Thorpe2008-07-031-1/+1
| | | | version some time soon.
* There was a need to support thread ID types that couldn't be reliably castGeoff Thorpe2008-03-281-1/+1
| | | | | | | | | | | | | | to 'unsigned long' (ie. odd platforms/compilers), so a pointer-typed version was added but it required portable code to check *both* modes to determine equality. This commit maintains the availability of both thread ID types, but deprecates the type-specific accessor APIs that invoke the callbacks - instead a single type-independent API is used. This simplifies software that calls into this interface, and should also make it less error-prone - as forgetting to call and compare *both* thread ID accessors could have led to hard-to-debug/infrequent bugs (that might only affect certain platforms or thread implementations). As the CHANGES note says, there were corresponding deprecations and replacements in the thread-related functions for BN_BLINDING and ERR too.
* Give everything prototypes (well, everything that's actually used).Ben Laurie2005-03-311-1/+1
|
* Add the possibility to build without the ENGINE framework.Richard Levitte2003-01-301-1/+10
| | | | PR: 287
* Windows CE updates, contributed by Steven Reddie <smr@essemer.com.au>Richard Levitte2002-12-031-3/+0
|
* WinCE patchesRichard Levitte2002-11-151-0/+3
|
* fix memory leakBodo Möller2002-03-251-0/+25
| | | | Submitted by: Nils Larsch
* This change replaces the ENGINE's underlying mechanics with the newGeoff Thorpe2001-09-251-6/+1
| | | | | | | | | | | | | | | | | | | | | ENGINE_TABLE-based stuff - as described in crypto/engine/README. Associated miscellaneous changes; - the previous cipher/digest hooks that hardwired directly to EVP's OBJ_NAME-based storage have been backed out. New cipher/digest support has been constructed and will be committed shortly. - each implementation defines its own ENGINE_load_<name> function now. - the "openssl" ENGINE isn't needed or loaded any more. - core (not algorithm or class specific) ENGINE code has been split into multiple files to increase readability and decrease linker bloat. - ENGINE_cpy() has been removed as it wasn't really a good idea in the first place and now, because of registration issues, can't be meaningfully defined any more. - BN_MOD_EXP[_CRT] support is removed as per the README. - a bug in enginetest.c has been fixed. NB: This commit almost certainly breaks compilation until subsequent changes are committed.
* Some of the ENGINE file names were changed for 8.3 filename uniquenessGeoff Thorpe2001-09-141-1/+1
| | | | | recently. So comments including file names have been fixed, and copyright notices brought up to "2001" at the same time.
* enginetest needs 'memset' defined.Geoff Thorpe2001-09-101-0/+1
|
* avoid warning ('const' discarded)Bodo Möller2001-09-101-2/+2
|
* Delete pointless castsBodo Möller2001-09-101-2/+2
|
* Avoid strdup.Bodo Möller2001-09-061-14/+6
| | | | | | (Some platforms need _XOPEN_SOURCE and _XOPEN_SOURCE_EXTENDED to get the declaration, but on other platforms _XOPEN_SOURCE disables the strdup declaration in <string.h>.)
* Solaris <string.h> does not declare 'strdup' if _XOPEN_SOURCE isBodo Möller2001-09-051-1/+1
| | | | | | | | | defined. (Preprocessor symbols such as _POSIX_C_SOURCE or _XOPEN_SOURCE are supposed to disable anything not allowed by the respective specification; I'm not sure why 'strdup' would be considered an outlaw though.)
* Including stdio.h before setting _XOPEN_SOURCE andRichard Levitte2001-06-231-1/+1
| | | | _XOPEN_SOURCE_EXTENDED wasn't very smart...
* Defining __USE_XOPEN_EXTENDED was the wrong thing. Instead, defineRichard Levitte2001-06-051-1/+2
| | | | _XOPEN_SOURCE.
* Define the right macro for Linux and other GNU-based systems to get a ↵Richard Levitte2001-02-221-0/+5
| | | | correct declaration of strdup()
* strdup() is a X/Open extension.Richard Levitte2001-02-201-1/+4
|
* Some functions, like strdup() and strcasecmp(), are defined inRichard Levitte2001-02-201-0/+1
| | | | strings.h according to X/Open.
* Merge the engine branch into the main trunk. All conflicts resolved.Richard Levitte2000-10-261-0/+251
At the same time, add VMS support for Rijndael.