-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
887accf
commit d0b8a16
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
diff --git a/crypto/comp/c_zlib.c b/crypto/comp/c_zlib.c | ||
index b819337..e479bd6 100644 | ||
index 0fbab8f014..0dc8ff53d4 100644 | ||
--- a/crypto/comp/c_zlib.c | ||
+++ b/crypto/comp/c_zlib.c | ||
@@ -34,6 +34,10 @@ COMP_METHOD *COMP_zlib(void); | ||
|
||
@@ -26,6 +26,10 @@ COMP_METHOD *COMP_zlib(void); | ||
# include <zlib.h> | ||
|
||
+#ifndef ZLIB_OONI | ||
+# error "We're not including the correct zlib.h file" | ||
+#endif | ||
+ | ||
static int zlib_stateful_init(COMP_CTX *ctx); | ||
static void zlib_stateful_finish(COMP_CTX *ctx); | ||
static int zlib_stateful_compress_block(COMP_CTX *ctx, unsigned char *out, | ||
static ossl_ssize_t zlib_stateful_compress_block(COMP_CTX *ctx, unsigned char *out, |