FreeBSD has /dev/crypto as well.
[openssl.git] / crypto / evp / c_all.c
index 1e185830a35764ce601862bb4dd9406624c6a6bf..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
+       }