When build as dynamic engines, the loading functions should be defined

static.
This commit is contained in:
Richard Levitte
2002-11-13 15:29:01 +00:00
parent 96a3369c4a
commit cd10ba9c39
6 changed files with 12 additions and 0 deletions

View File

@@ -373,6 +373,7 @@ static int bind_helper(ENGINE *e)
return 1;
}
#ifndef ENGINE_DYNAMIC_SUPPORT
static ENGINE *engine_ncipher(void)
{
ENGINE *ret = ENGINE_new();
@@ -395,6 +396,7 @@ void ENGINE_load_chil(void)
ENGINE_free(toadd);
ERR_clear_error();
}
#endif
/* This is a process-global DSO handle used for loading and unloading
* the HWCryptoHook library. NB: This is only set (or unset) during an