From branch OpenSSL_0_9_7-stable, 2002-11-13 15:30:

The loading functions should be static if we build a dynamic
engine.
This commit is contained in:
Richard Levitte
2005-04-30 14:34:28 +00:00
parent d2284ab5d1
commit 37e27219f2
3 changed files with 12 additions and 3 deletions

View File

@@ -366,7 +366,7 @@ static int bind_helper ( ENGINE *e )
/* As this is only ever called once, there's no need for locking
* (indeed - the lock will already be held by our caller!!!)
*/
ENGINE *ENGINE_zencod ( void )
static ENGINE *ENGINE_zencod ( void )
{
ENGINE *eng = ENGINE_new () ;
@@ -383,6 +383,9 @@ ENGINE *ENGINE_zencod ( void )
}
#ifdef ENGINE_DYNAMIC_SUPPORT
static
#endif
void ENGINE_load_zencod ( void )
{
/* Copied from eng_[openssl|dyn].c */