FreeBSD has /dev/crypto as well.
[openssl.git] / crypto / evp / c_all.c
index 5ffd352ea0c784c9817287b9675a5713e65f095b..af3dd261629a7184888c54aaa32f6f07a7ca009b 100644 (file)
 #include "cryptlib.h"
 #include <openssl/evp.h>
 
+#if 0
 #undef OpenSSL_add_all_algorithms
 
 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
        }