summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-12-09 13:25:43 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-12-22 14:25:32 (GMT)
commitc862d5d733307dd76fdad38f2a77de696439e402 (patch)
treef0021d33f475287014d44280c3f8f852fa0cd127 /Swiften/TLS/OpenSSL
parentba7a4cbf494f39d08717084c61ee865609b96619 (diff)
downloadswift-c862d5d733307dd76fdad38f2a77de696439e402.zip
swift-c862d5d733307dd76fdad38f2a77de696439e402.tar.bz2
Silence deprecated warnings.
Change-Id: If349586fd131f1661485acdea573f97d1726c731
Diffstat (limited to 'Swiften/TLS/OpenSSL')
-rw-r--r--Swiften/TLS/OpenSSL/OpenSSLCertificate.cpp1
-rw-r--r--Swiften/TLS/OpenSSL/OpenSSLContext.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/Swiften/TLS/OpenSSL/OpenSSLCertificate.cpp b/Swiften/TLS/OpenSSL/OpenSSLCertificate.cpp
index 76b8bb9..6295c6f 100644
--- a/Swiften/TLS/OpenSSL/OpenSSLCertificate.cpp
+++ b/Swiften/TLS/OpenSSL/OpenSSLCertificate.cpp
@@ -13,6 +13,7 @@
#include <openssl/x509v3.h>
#pragma GCC diagnostic ignored "-Wold-style-cast"
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
namespace Swift {
diff --git a/Swiften/TLS/OpenSSL/OpenSSLContext.cpp b/Swiften/TLS/OpenSSL/OpenSSLContext.cpp
index e8a9019..73575ff 100644
--- a/Swiften/TLS/OpenSSL/OpenSSLContext.cpp
+++ b/Swiften/TLS/OpenSSL/OpenSSLContext.cpp
@@ -25,6 +25,7 @@
#include <Swiften/TLS/PKCS12Certificate.h>
#pragma GCC diagnostic ignored "-Wold-style-cast"
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
namespace Swift {