When build as dynamic engines, the loading functions should be defined
static.
This commit is contained in:
@@ -259,6 +259,7 @@ static int bind_helper(ENGINE *e)
|
||||
return 1;
|
||||
}
|
||||
|
||||
#ifndef ENGINE_DYNAMIC_SUPPORT
|
||||
static ENGINE *engine_cswift(void)
|
||||
{
|
||||
ENGINE *ret = ENGINE_new();
|
||||
@@ -281,6 +282,7 @@ void ENGINE_load_cswift(void)
|
||||
ENGINE_free(toadd);
|
||||
ERR_clear_error();
|
||||
}
|
||||
#endif
|
||||
|
||||
/* This is a process-global DSO handle used for loading and unloading
|
||||
* the CryptoSwift library. NB: This is only set (or unset) during an
|
||||
|
Reference in New Issue
Block a user