diff options
Diffstat (limited to 'include/libssh/libcrypto.h')
-rw-r--r-- | include/libssh/libcrypto.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/include/libssh/libcrypto.h b/include/libssh/libcrypto.h index c3783880..6a08837a 100644 --- a/include/libssh/libcrypto.h +++ b/include/libssh/libcrypto.h @@ -30,15 +30,13 @@ #include <openssl/sha.h> #include <openssl/md5.h> #include <openssl/hmac.h> -#ifdef HAVE_OPENSSL_ECC #include <openssl/evp.h> -#endif -typedef SHA_CTX* SHACTX; -typedef SHA256_CTX* SHA256CTX; -typedef SHA512_CTX* SHA384CTX; -typedef SHA512_CTX* SHA512CTX; -typedef MD5_CTX* MD5CTX; +typedef EVP_MD_CTX* SHACTX; +typedef EVP_MD_CTX* SHA256CTX; +typedef EVP_MD_CTX* SHA384CTX; +typedef EVP_MD_CTX* SHA512CTX; +typedef EVP_MD_CTX* MD5CTX; typedef HMAC_CTX* HMACCTX; #ifdef HAVE_ECC typedef EVP_MD_CTX *EVPCTX; |