]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CI: github actions: -Wno-deprecated-declarations with OpenSSL 3.0.0
authorWilliam Lallemand <wlallemand@haproxy.org>
Mon, 7 Jun 2021 13:27:57 +0000 (15:27 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Mon, 7 Jun 2021 13:34:07 +0000 (15:34 +0200)
Disable the deprecated functions warning when building with openssl
3.0.0 alpha. This will need to be reverted once haproxy is ported to the
new API.

.github/matrix.py

index 1ff48aa4fd4cc27fb550dba226d7676899b0c9b3..473524848977638c088ed4867ba84bfd3b73fd60 100644 (file)
@@ -116,6 +116,8 @@ for CC in ["gcc", "clang"]:
         flags = ["USE_OPENSSL=1"]
         if ssl == "BORINGSSL=yes":
             flags.append("USE_QUIC=1")
+        if ssl == "OPENSSL_VERSION=3.0.0-alpha17":
+            flags.append('DEBUG_CFLAGS="-g -Wno-deprecated-declarations"')
         if ssl != "stock":
             flags.append("SSL_LIB=${HOME}/opt/lib")
             flags.append("SSL_INC=${HOME}/opt/include")