mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-07 02:39:48 +09:00
zlib: Move conditional compilation inside of the gzip.c
This implements stub for the compression functions and includes the gzip.c in the compilation target uncoditionally, keeping the WITH_ZLIB conditional compilation only in the gzip.c Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -197,9 +197,7 @@ void crypto_free(struct ssh_crypto_struct *crypto)
|
||||
explicit_bzero(crypto->secret_hash, crypto->digest_len);
|
||||
SAFE_FREE(crypto->secret_hash);
|
||||
}
|
||||
#ifdef WITH_ZLIB
|
||||
compress_cleanup(crypto);
|
||||
#endif /* WITH_ZLIB */
|
||||
SAFE_FREE(crypto->encryptIV);
|
||||
SAFE_FREE(crypto->decryptIV);
|
||||
SAFE_FREE(crypto->encryptMAC);
|
||||
|
||||
Reference in New Issue
Block a user