Add #ifdefs to some devcrypto code
authorDr. Stephen Henson <steve@openssl.org>
Thu, 23 Aug 2001 23:52:38 +0000 (23:52 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 23 Aug 2001 23:52:38 +0000 (23:52 +0000)
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