summaryrefslogtreecommitdiffstats
path: root/src/wrapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wrapper.c')
-rw-r--r--src/wrapper.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wrapper.c b/src/wrapper.c
index 3a91720..edce03d 100644
--- a/src/wrapper.c
+++ b/src/wrapper.c
@@ -38,7 +38,7 @@
#include <stdio.h>
#include <string.h>
-#ifdef WITH_LIBZ
+#ifdef WITH_ZLIB
#include <zlib.h>
#endif
@@ -122,7 +122,7 @@ void crypto_free(struct ssh_crypto_struct *crypto){
SAFE_FREE(crypto->session_id);
}
-#ifdef WITH_LIBZ
+#ifdef WITH_ZLIB
if (crypto->compress_out_ctx &&
(deflateEnd(crypto->compress_out_ctx) != 0)) {
inflateEnd(crypto->compress_out_ctx);
@@ -131,7 +131,7 @@ void crypto_free(struct ssh_crypto_struct *crypto){
(deflateEnd(crypto->compress_in_ctx) != 0)) {
inflateEnd(crypto->compress_in_ctx);
}
-#endif
+#endif /* WITH_ZLIB */
if(crypto->encryptIV)
SAFE_FREE(crypto->encryptIV);
if(crypto->decryptIV)