summaryrefslogtreecommitdiff
path: root/engines/e_ubsec.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-11-13 15:30:25 +0000
committerRichard Levitte <levitte@openssl.org>2002-11-13 15:30:25 +0000
commit8f797f14b8ff7d3d5cb04443284259a0c94860b3 (patch)
tree9313f4139e28c11b4421bd2e6d0f8691836965de /engines/e_ubsec.c
parentc0d64de6602c8afd389a22c65bd1be63b5685b08 (diff)
downloadopenssl-new-8f797f14b8ff7d3d5cb04443284259a0c94860b3.tar.gz
When build as dynamic engines, the loading functions should be defined
static.
Diffstat (limited to 'engines/e_ubsec.c')
-rw-r--r--engines/e_ubsec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/e_ubsec.c b/engines/e_ubsec.c
index 35af495b71..c5d1f5829a 100644
--- a/engines/e_ubsec.c
+++ b/engines/e_ubsec.c
@@ -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