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

crypto/evp/c_all.c

index af3dd261629a7184888c54aaa32f6f07a7ca009b..1b31a14e37cffc11cad8035b48b7a3a52d3f96e4 100644 (file)
@@ -73,7 +73,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
        }