Add #ifdefs to some devcrypto code
[openssl.git] / crypto / engine / hw_openbsd_dev_crypto.c
index b3e1d0e2403ba59ebb8fdf271f97d37dd2e21f47..6c8fdb6956eb13341bcf7405e652226fca8a5e4e 100644 (file)
@@ -57,6 +57,8 @@
 #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());
@@ -78,3 +80,4 @@ ENGINE *ENGINE_openbsd_dev_crypto(void)
     return engine;
     }
 
+#endif