summaryrefslogtreecommitdiffstats
path: root/crypto/engine/eng_all.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/engine/eng_all.c')
-rw-r--r--crypto/engine/eng_all.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/engine/eng_all.c b/crypto/engine/eng_all.c
index 4600acb699..ebe0277370 100644
--- a/crypto/engine/eng_all.c
+++ b/crypto/engine/eng_all.c
@@ -18,7 +18,7 @@ void ENGINE_load_builtin_engines(void)
OPENSSL_init_crypto(OPENSSL_INIT_ENGINE_ALL_BUILTIN, NULL);
}
-#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(HAVE_CRYPTODEV)
+#if (defined(__OpenBSD__) || defined(__FreeBSD__) || defined(HAVE_CRYPTODEV)) && !defined(OPENSSL_NO_DEPRECATED)
void ENGINE_setup_bsd_cryptodev(void)
{
static int bsd_cryptodev_default_loaded = 0;