really, don't load random methods from non existing engine.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20828 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -322,21 +322,4 @@ ENGINE_by_id(const char *id)
|
||||
void
|
||||
ENGINE_add_conf_module(void)
|
||||
{
|
||||
ENGINE *engine;
|
||||
|
||||
/*
|
||||
* XXX Parse configuration file instead
|
||||
*/
|
||||
|
||||
{
|
||||
const RSA_METHOD *method = ENGINE_get_RSA(engine);
|
||||
if (method)
|
||||
RSA_set_default_method(method);
|
||||
}
|
||||
{
|
||||
const DH_METHOD *method = ENGINE_get_DH(engine);
|
||||
if (method)
|
||||
DH_set_default_method(method);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user