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:16:26 +0200 |
| commit | 3911046f7ead383e4f548c3339f5d800a9bce50f (patch) | |
| tree | ce2588a68d7a28651027f7bd790b329e0f3e3410 /include | |
| parent | 2727af0fe653395458b44af4eb7891a7e6830f1e (diff) | |
include: Fix build on platforms without ECC.
Diffstat (limited to 'include')
| -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 |
