Not all platforms have the OpenBSD crypto device.
diff --git a/crypto/evp/openbsd_hw.c b/crypto/evp/openbsd_hw.c index 012856a..61f6772 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 @@ EVP_CIPHER_set_asn1_iv, EVP_CIPHER_get_asn1_iv, NULL) + +#endif