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
This commit is contained in:
Jeffrey Altman
2016-04-23 18:57:30 -04:00
parent a4dae2513f
commit 6c1ba82623

View File

@@ -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) \
{ \