From: Nils Larsch Date: Fri, 24 Nov 2006 18:37:43 +0000 (+0000) Subject: register the engine as default engine in ENGINE_set_default() X-Git-Tag: OpenSSL_0_9_8k^2~1065 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=69d4646f4e259fbb192f41c6f7faab89fee98b55;p=oweals%2Fopenssl.git register the engine as default engine in ENGINE_set_default() PR: 1431 --- diff --git a/crypto/engine/tb_ecdh.c b/crypto/engine/tb_ecdh.c index 59977f7dd0..c8ec7812c5 100644 --- a/crypto/engine/tb_ecdh.c +++ b/crypto/engine/tb_ecdh.c @@ -107,7 +107,7 @@ int ENGINE_set_default_ECDH(ENGINE *e) { if(e->ecdh_meth) return engine_table_register(&ecdh_table, - engine_unregister_all_ECDH, e, &dummy_nid, 1, 0); + engine_unregister_all_ECDH, e, &dummy_nid, 1, 1); return 1; } diff --git a/crypto/engine/tb_ecdsa.c b/crypto/engine/tb_ecdsa.c index e30b02e8c5..005ecb622c 100644 --- a/crypto/engine/tb_ecdsa.c +++ b/crypto/engine/tb_ecdsa.c @@ -92,7 +92,7 @@ int ENGINE_set_default_ECDSA(ENGINE *e) { if(e->ecdsa_meth) return engine_table_register(&ecdsa_table, - engine_unregister_all_ECDSA, e, &dummy_nid, 1, 0); + engine_unregister_all_ECDSA, e, &dummy_nid, 1, 1); return 1; }