aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/engine/enginetest.c
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2001-09-25 20:00:51 +0000
committerGeoff Thorpe <geoff@openssl.org>2001-09-25 20:00:51 +0000
commitb6d1e52d454bb321153c70cf763945d4b0d4f78e (patch)
treec13376b1794f1605a8f9e84ad9b74ca4dcf9177f /crypto/engine/enginetest.c
parentf185e725a00a76cee0bcd0a3beb92a257d2b6325 (diff)
downloadopenssl-b6d1e52d454bb321153c70cf763945d4b0d4f78e.tar.gz
This change replaces the ENGINE's underlying mechanics with the new
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.
Diffstat (limited to 'crypto/engine/enginetest.c')
-rw-r--r--crypto/engine/enginetest.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/crypto/engine/enginetest.c b/crypto/engine/enginetest.c
index 01c3a9f5fe..598cb31a6f 100644
--- a/crypto/engine/enginetest.c
+++ b/crypto/engine/enginetest.c
@@ -161,12 +161,7 @@ int main(int argc, char *argv[])
}
else
printf("Remove that should fail did.\n");
- if(!ENGINE_remove(new_h1))
- {
- printf("Remove failed!\n");
- goto end;
- }
- display_engine_list();
+ ERR_clear_error();
if(!ENGINE_remove(new_h3))
{
printf("Remove failed!\n");