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

static.
This commit is contained in:
Richard Levitte
2002-11-13 15:30:25 +00:00
parent c0d64de660
commit 8f797f14b8
6 changed files with 12 additions and 0 deletions

View File

@@ -243,6 +243,7 @@ static int bind_helper(ENGINE *e)
return 1;
}
#ifdef OPENSSL_NO_DYNAMIC_ENGINE
static ENGINE *engine_ubsec(void)
{
ENGINE *ret = ENGINE_new();
@@ -265,6 +266,7 @@ void ENGINE_load_ubsec(void)
ENGINE_free(toadd);
ERR_clear_error();
}
#endif
/* This is a process-global DSO handle used for loading and unloading
* the UBSEC library. NB: This is only set (or unset) during an