diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2013-10-21 07:15:59 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2013-10-21 07:15:59 +0200 |
commit | 5baa6aed6bb46ec04f6fe00fdefdccee96a2b6fd (patch) | |
tree | 7282946c3e113737e8db1f2886e669bc730a0279 /include/libssh/libcrypto.h | |
parent | 6a6e85752e937dea811a7b29bff5f382439a8264 (diff) | |
download | libssh-5baa6aed6bb46ec04f6fe00fdefdccee96a2b6fd.tar.gz libssh-5baa6aed6bb46ec04f6fe00fdefdccee96a2b6fd.tar.xz libssh-5baa6aed6bb46ec04f6fe00fdefdccee96a2b6fd.zip |
include: Fix build on platforms without ECC.
Diffstat (limited to 'include/libssh/libcrypto.h')
-rw-r--r-- | include/libssh/libcrypto.h | 2 |
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 |