Add #ifdefs to some devcrypto code
[openssl.git] / crypto / engine / hw_openbsd_dev_crypto.c
index 10a271cd04a7874926f1be15abd35aa4d3ea0d4f..6c8fdb6956eb13341bcf7405e652226fca8a5e4e 100644 (file)
 #include <openssl/evp.h>
 #include "engine_int.h"
 
 #include <openssl/evp.h>
 #include "engine_int.h"
 
+#ifdef OPENSSL_OPENBSD_DEV_CRYPTO
+
 static void load_ciphers(ENGINE *e)
     {
     ENGINE_add_cipher(e,EVP_dev_crypto_des_ede3_cbc());
 static void load_ciphers(ENGINE *e)
     {
     ENGINE_add_cipher(e,EVP_dev_crypto_des_ede3_cbc());
+    ENGINE_add_cipher(e,EVP_dev_crypto_rc4());
     }
 
 ENGINE *ENGINE_openbsd_dev_crypto(void)
     }
 
 ENGINE *ENGINE_openbsd_dev_crypto(void)
@@ -77,3 +80,4 @@ ENGINE *ENGINE_openbsd_dev_crypto(void)
     return engine;
     }
 
     return engine;
     }
 
+#endif