FreeBSD has /dev/crypto as well.
[openssl.git] / crypto / evp / c_all.c
index a3476de5555f29c8b08c02ea4ad377fd03c4cb2e..af3dd261629a7184888c54aaa32f6f07a7ca009b 100644 (file)
 #include "cryptlib.h"
 #include <openssl/evp.h>
 
+#if 0
 #undef OpenSSL_add_all_algorithms
-void OpenSSL_add_all_algorithms(void);
 
 void OpenSSL_add_all_algorithms(void)
        {
        OPENSSL_add_all_algorithms_noconf();
        }
+#endif
 
 void OPENSSL_add_all_algorithms_noconf(void)
        {
        OpenSSL_add_all_ciphers();
        OpenSSL_add_all_digests();
+#if defined(__OpenBSD__) || defined(__FreeBSD__)
+       ENGINE_setup_bsd_cryptodev();
+#endif
        }