Not all platforms have the OpenBSD crypto device.
authorRichard Levitte <levitte@openssl.org>
Sat, 21 Jul 2001 11:54:24 +0000 (11:54 +0000)
committerRichard Levitte <levitte@openssl.org>
Sat, 21 Jul 2001 11:54:24 +0000 (11:54 +0000)
crypto/evp/openbsd_hw.c

index 012856adda63c616ca73006b023003eb159d68bb..61f67720d732f7ea880b06a6241be0c2bbfea9c7 100644 (file)
@@ -46,6 +46,8 @@
  * OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#ifdef OPENSSL_OPENBSD_DEV_CRYPTO
+
 #include <fcntl.h>
 #include <stdio.h>
 #include <errno.h>
@@ -188,3 +190,5 @@ BLOCK_CIPHER_def_cbc(dev_crypto_des_ede3, des_ede,NID_des_ede3, 8, 24, 8,
                     EVP_CIPHER_set_asn1_iv,
                     EVP_CIPHER_get_asn1_iv,
                     NULL)
+
+#endif