aboutsummaryrefslogtreecommitdiff
path: root/src/libcrypto.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2015-09-25 12:01:36 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2015-09-25 12:01:36 +0200
commit8ec46cbd42c2af7b7e1a06e3b3087e97526b558e (patch)
tree0d6660782eccba9c21b81cfe1e680bd517b16c4a /src/libcrypto.c
parent0409a302bb1ba1afd0bdc418c0012c8857edd7d7 (diff)
downloadlibssh-8ec46cbd42c2af7b7e1a06e3b3087e97526b558e.tar.gz
libssh-8ec46cbd42c2af7b7e1a06e3b3087e97526b558e.tar.xz
libssh-8ec46cbd42c2af7b7e1a06e3b3087e97526b558e.zip
crypto: fix broken ifdef
Diffstat (limited to 'src/libcrypto.c')
-rw-r--r--src/libcrypto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcrypto.c b/src/libcrypto.c
index bf75f261..28347a05 100644
--- a/src/libcrypto.c
+++ b/src/libcrypto.c
@@ -548,7 +548,7 @@ static void evp_cipher_cleanup(struct ssh_cipher_struct *cipher) {
EVP_CIPHER_CTX_cleanup(&cipher->ctx);
}
-#ifndef HAVE_EVP_AES_CTR
+#ifndef HAVE_OPENSSL_EVP_AES_CTR
/* Some OS (osx, OpenIndiana, ...) have no support for CTR ciphers in EVP_aes */
struct ssh_aes_key_schedule {
@@ -595,7 +595,7 @@ static void aes_ctr_cleanup(struct ssh_cipher_struct *cipher){
SAFE_FREE(cipher->aes_key);
}
-#endif /* HAVE_EVP_AES_CTR */
+#endif /* HAVE_OPENSSL_EVP_AES_CTR */
#ifdef HAS_DES
typedef uint8_t des_iv_t[8];