From b6d1e52d454bb321153c70cf763945d4b0d4f78e Mon Sep 17 00:00:00 2001 From: Geoff Thorpe Date: Tue, 25 Sep 2001 20:00:51 +0000 Subject: 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_ 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. --- crypto/engine/enginetest.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'crypto/engine/enginetest.c') 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"); -- cgit v1.2.3