Fix build when BSAES_ASM is defined but VPAES_ASM is not
[oweals/openssl.git] / crypto / evp / c_all.c
index c6a3315e649f54b98043e5f3149fd64ccfd91a2e..766c4cecdf7e4bbea6ab9ed502ef9d13347c41a2 100644 (file)
@@ -79,12 +79,11 @@ void OPENSSL_add_all_algorithms_noconf(void)
         * only on IA-32, but we reserve the option for all
         * platforms...
         */
-       void OPENSSL_cpuid_setup();
        OPENSSL_cpuid_setup();
        OpenSSL_add_all_ciphers();
        OpenSSL_add_all_digests();
 #ifndef OPENSSL_NO_ENGINE
-# if defined(__OpenBSD__) || defined(__FreeBSD__)
+# if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(HAVE_CRYPTODEV)
        ENGINE_setup_bsd_cryptodev();
 # endif
 #endif