-
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.
Showing
10 changed files
with
62 additions
and
53 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 @@ static COMP_METHOD zlib_method_nozlib = { | ||
|
||
@@ -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, |
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/include/openssl/opensslv.h.in b/include/openssl/opensslv.h.in | ||
index 3f47a2a..af1db51 100644 | ||
index 3f47a2ac08..b413461ca7 100644 | ||
--- a/include/openssl/opensslv.h.in | ||
+++ b/include/openssl/opensslv.h.in | ||
@@ -101,6 +101,10 @@ extern "C" { | ||
|(OPENSSL_VERSION_PATCH<<4) \ | ||
|_OPENSSL_VERSION_PRE_RELEASE ) | ||
@@ -13,6 +13,10 @@ | ||
# define OPENSSL_OPENSSLV_H | ||
# pragma once | ||
|
||
+/* OPENSSL_OONI is used by dependencies to ensure they are using the | ||
+ correct OpenSSL headers and not some other headers. */ | ||
+#define OPENSSL_OONI 1 | ||
+ | ||
# ifdef __cplusplus | ||
} | ||
extern "C" { | ||
# endif |
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
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
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 |
---|---|---|
|
@@ -27,13 +27,13 @@ func cdepsOpenSSLBuildMain(globalEnv *cBuildEnv, deps buildtoolmodel.Dependencie | |
defer restore() | ||
|
||
// See https://github.com/Homebrew/homebrew-core/blob/master/Formula/o/[email protected] | ||
cdepsMustFetch("https://www.openssl.org/source/openssl-3.1.3.tar.gz") | ||
cdepsMustFetch("https://www.openssl.org/source/openssl-3.2.0.tar.gz") | ||
deps.VerifySHA256( // must be mockable | ||
"f0316a2ebd89e7f2352976445458689f80302093788c466692fb2a188b2eacf6", | ||
"openssl-3.1.3.tar.gz", | ||
"14c826f07c7e433706fb5c69fa9e25dab95684844b4c962a2cf1bf183eb4690e", | ||
"openssl-3.2.0.tar.gz", | ||
) | ||
must.Run(log.Log, "tar", "-xf", "openssl-3.1.3.tar.gz") | ||
_ = deps.MustChdir("openssl-3.1.3") // must be mockable | ||
must.Run(log.Log, "tar", "-xf", "openssl-3.2.0.tar.gz") | ||
_ = deps.MustChdir("openssl-3.2.0") // must be mockable | ||
|
||
mydir := filepath.Join(topdir, "CDEPS", "openssl") | ||
for _, patch := range cdepsMustListPatches(mydir) { | ||
|
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
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
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
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
Oops, something went wrong.