register the engine as default engine in ENGINE_set_default()

PR: 1431
This commit is contained in:
Nils Larsch 2006-11-24 18:37:43 +00:00
parent 8bd11f3ec2
commit 69d4646f4e
2 changed files with 2 additions and 2 deletions

View 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;
}

View 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;
}