From 5baa6aed6bb46ec04f6fe00fdefdccee96a2b6fd Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 21 Oct 2013 07:15:59 +0200 Subject: include: Fix build on platforms without ECC. --- include/libssh/libcrypto.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/libssh/libcrypto.h b/include/libssh/libcrypto.h index c8b157b0..5cf2da28 100644 --- a/include/libssh/libcrypto.h +++ b/include/libssh/libcrypto.h @@ -40,6 +40,8 @@ typedef MD5_CTX* MD5CTX; typedef HMAC_CTX* HMACCTX; #ifdef HAVE_ECC typedef EVP_MD_CTX *EVPCTX; +#else +typedef void *EVPCTX; #endif #define SHA_DIGEST_LEN SHA_DIGEST_LENGTH -- cgit v1.2.3