register the engine as default engine in ENGINE_set_default()
authorNils Larsch <nils@openssl.org>
Fri, 24 Nov 2006 18:37:43 +0000 (18:37 +0000)
committerNils Larsch <nils@openssl.org>
Fri, 24 Nov 2006 18:37:43 +0000 (18:37 +0000)
PR: 1431

crypto/engine/tb_ecdh.c
crypto/engine/tb_ecdsa.c

index 59977f7dd0a6228def9d365bb1a940589e8a4d63..c8ec7812c55f3741c86a268d387b5e16067c1c7f 100644 (file)
@@ -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;
        }
 
index e30b02e8c59b53acd33a260c862a74bd7a936ce6..005ecb622c211674f3131fc310083bc3e7adedb2 100644 (file)
@@ -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;
        }