summaryrefslogtreecommitdiff
path: root/engines/e_ubsec.c
diff options
context:
space:
mode:
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