summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/OpenSSLEngine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceSSL/OpenSSLEngine.cpp')
-rw-r--r--cpp/src/IceSSL/OpenSSLEngine.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/src/IceSSL/OpenSSLEngine.cpp b/cpp/src/IceSSL/OpenSSLEngine.cpp
index b618d71d3cd..885a5b5c24b 100644
--- a/cpp/src/IceSSL/OpenSSLEngine.cpp
+++ b/cpp/src/IceSSL/OpenSSLEngine.cpp
@@ -28,6 +28,9 @@
#ifdef _MSC_VER
# pragma warning(disable:4127) // conditional expression is constant
+#elif defined(__GNUC__)
+# // Ignore OpenSSL 3.0 deprecation warning
+# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
using namespace std;