Skip to content

Commit

Permalink
fix: update patches for OpenSSL
Browse files Browse the repository at this point in the history
  • Loading branch information
bassosimone committed Dec 13, 2023
1 parent 6556581 commit 887accf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CDEPS/openssl/000.patch
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ diff --git a/crypto/comp/c_zlib.c b/crypto/comp/c_zlib.c
index b819337..e479bd6 100644
--- a/crypto/comp/c_zlib.c
+++ b/crypto/comp/c_zlib.c
@@ -34,6 +34,10 @@ static COMP_METHOD zlib_method_nozlib = {
@@ -34,6 +34,10 @@ COMP_METHOD *COMP_zlib(void);

# include <zlib.h>

Expand Down
10 changes: 5 additions & 5 deletions CDEPS/openssl/001.patch
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

0 comments on commit 887accf

Please sign in to comment.