aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-10-21 07:15:59 +0200
committerAndreas Schneider <asn@cryptomilk.org>2013-10-21 07:15:59 +0200
commit5baa6aed6bb46ec04f6fe00fdefdccee96a2b6fd (patch)
tree7282946c3e113737e8db1f2886e669bc730a0279 /include
parent6a6e85752e937dea811a7b29bff5f382439a8264 (diff)
downloadlibssh-5baa6aed6bb46ec04f6fe00fdefdccee96a2b6fd.tar.gz
libssh-5baa6aed6bb46ec04f6fe00fdefdccee96a2b6fd.tar.xz
libssh-5baa6aed6bb46ec04f6fe00fdefdccee96a2b6fd.zip
include: Fix build on platforms without ECC.
Diffstat (limited to 'include')
-rw-r--r--include/libssh/libcrypto.h2
1 files changed, 2 insertions, 0 deletions
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