summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2001-07-21 11:54:24 +0000
committerRichard Levitte <levitte@openssl.org>2001-07-21 11:54:24 +0000
commit47c3448a97605a771fc5a2c9400eb7ccc27d70b3 (patch)
treee2082d313db8436af147a4b70df09c25626241d3 /crypto
parent4db48ec0bdbad08c6852bea37e0aea5a04329b99 (diff)
Not all platforms have the OpenBSD crypto device.
Diffstat (limited to 'crypto')
-rw-r--r--crypto/evp/openbsd_hw.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/evp/openbsd_hw.c b/crypto/evp/openbsd_hw.c
index 012856adda..61f67720d7 100644
--- a/crypto/evp/openbsd_hw.c
+++ b/crypto/evp/openbsd_hw.c
@@ -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