mirror of
https://github.com/openssl/openssl.git
synced 2024-12-26 02:13:45 +08:00
register the engine as default engine in ENGINE_set_default()
PR: 1431
This commit is contained in:
parent
8bd11f3ec2
commit
69d4646f4e
@ -107,7 +107,7 @@ int ENGINE_set_default_ECDH(ENGINE *e)
|
|||||||
{
|
{
|
||||||
if(e->ecdh_meth)
|
if(e->ecdh_meth)
|
||||||
return engine_table_register(&ecdh_table,
|
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;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -92,7 +92,7 @@ int ENGINE_set_default_ECDSA(ENGINE *e)
|
|||||||
{
|
{
|
||||||
if(e->ecdsa_meth)
|
if(e->ecdsa_meth)
|
||||||
return engine_table_register(&ecdsa_table,
|
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;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user