diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-07-14 18:04:31 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-07-14 18:04:31 +0000 |
| commit | f003095531247db30c44c4f935ecbb216a3014fc (patch) | |
| tree | 3dcb71429ce5ccb4f07f7be5189477634f9b0b6d /dev-cpp/cpp-httplib/files/httplib_h.patch | |
| parent | 2eb9743ff9bb1999fa3671f852c70a86f494fb4b (diff) | |
| download | baldeagleos-repo-f003095531247db30c44c4f935ecbb216a3014fc.tar.gz baldeagleos-repo-f003095531247db30c44c4f935ecbb216a3014fc.tar.xz baldeagleos-repo-f003095531247db30c44c4f935ecbb216a3014fc.zip | |
Adding metadata
Diffstat (limited to 'dev-cpp/cpp-httplib/files/httplib_h.patch')
| -rw-r--r-- | dev-cpp/cpp-httplib/files/httplib_h.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-cpp/cpp-httplib/files/httplib_h.patch b/dev-cpp/cpp-httplib/files/httplib_h.patch new file mode 100644 index 000000000000..b37a49341f4f --- /dev/null +++ b/dev-cpp/cpp-httplib/files/httplib_h.patch @@ -0,0 +1,21 @@ +diff '--color=auto' -urN cpp-httplib-0.16.0.orig/httplib.h cpp-httplib-0.16.0/httplib.h +--- cpp-httplib-0.16.0.orig/httplib.h 2024-07-14 10:29:02.536885895 +0200 ++++ cpp-httplib-0.16.0/httplib.h 2024-07-14 10:30:41.405879297 +0200 +@@ -269,7 +269,7 @@ + #include <iostream> + #include <sstream> + +-#if OPENSSL_VERSION_NUMBER < 0x30000000L ++#if OPENSSL_VERSION_NUMBER < 0x30000000L && !defined(LIBRESSL_VERSION_NUMBER) + #error Sorry, OpenSSL versions prior to 3.0.0 are not supported + #endif + +@@ -9029,7 +9029,7 @@ + return false; + } + +- auto server_cert = SSL_get1_peer_certificate(ssl2); ++ auto server_cert = SSL_get_peer_certificate(ssl2); + + if (server_cert == nullptr) { + error = Error::SSLServerVerification; |
