Do not call ENGINE_setup_bsd_cryptodev() when OPENSSL_NO_ENGINE is defined.
authorRichard Levitte <levitte@openssl.org>
Sat, 5 Apr 2003 21:21:26 +0000 (21:21 +0000)
committerRichard Levitte <levitte@openssl.org>
Sat, 5 Apr 2003 21:21:26 +0000 (21:21 +0000)
PR: 564

crypto/evp/c_all.c

index 19737f3..879d84a 100644 (file)
@@ -74,7 +74,9 @@ void OPENSSL_add_all_algorithms_noconf(void)
        {
        OpenSSL_add_all_ciphers();
        OpenSSL_add_all_digests();
-#if defined(__OpenBSD__) || defined(__FreeBSD__)
+#ifndef OPENSSL_NO_ENGINE
+# if defined(__OpenBSD__) || defined(__FreeBSD__)
        ENGINE_setup_bsd_cryptodev();
+# endif
 #endif
        }