From 6c1ba826236f899b83377092f017f0d5758c1067 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Sat, 23 Apr 2016 18:57:30 -0400 Subject: [PATCH] hcrypto: no openssl build requires evp-hcrypto.h include When building evp-openssl.c without support for OpenSSL it is necessary to include evp-hcrypto.h to define the HCRYPTO_FALLBACK functions. Change-Id: Ifd51f9fcd2b1805a534a9f88992162818afffe7d --- lib/hcrypto/evp-openssl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/hcrypto/evp-openssl.c b/lib/hcrypto/evp-openssl.c index cf9f03419..5f2a5ab93 100644 --- a/lib/hcrypto/evp-openssl.c +++ b/lib/hcrypto/evp-openssl.c @@ -404,6 +404,8 @@ get_EVP_MD(heim_base_once_t *once, hc_EVP_MD *hc_memoize, #else /* HAVE_HCRYPTO_W_OPENSSL */ +#include "evp-hcrypto.h" + #define OSSL_CIPHER_ALGORITHM(name, flags) \ const hc_EVP_CIPHER *hc_EVP_ossl_##name(void) \ { \