summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDiusrex <killakan002@hotmail.com>2014-01-05 23:06:17 +0100
committerDiusrex <killakan002@hotmail.com>2014-01-05 23:06:17 +0100
commit2dbe5033ca30ce791e3cb28cc59f47d52225b7ae (patch)
treee5c592a520ce2c334333a28659b07df5713eb46e /lib
parentMaking all of the useful level 4 warnings be active. (diff)
downloadcuberite-2dbe5033ca30ce791e3cb28cc59f47d52225b7ae.tar
cuberite-2dbe5033ca30ce791e3cb28cc59f47d52225b7ae.tar.gz
cuberite-2dbe5033ca30ce791e3cb28cc59f47d52225b7ae.tar.bz2
cuberite-2dbe5033ca30ce791e3cb28cc59f47d52225b7ae.tar.lz
cuberite-2dbe5033ca30ce791e3cb28cc59f47d52225b7ae.tar.xz
cuberite-2dbe5033ca30ce791e3cb28cc59f47d52225b7ae.tar.zst
cuberite-2dbe5033ca30ce791e3cb28cc59f47d52225b7ae.zip
Diffstat (limited to 'lib')
-rw-r--r--lib/cryptopp/cryptlib.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/cryptopp/cryptlib.cpp b/lib/cryptopp/cryptlib.cpp
index df138ddb0..661340b8d 100644
--- a/lib/cryptopp/cryptlib.cpp
+++ b/lib/cryptopp/cryptlib.cpp
@@ -4,6 +4,12 @@
#ifndef CRYPTOPP_IMPORTS
+
+#ifdef _MSC_VER
+ #pragma warning(push)
+ #pragma warning(disable:4702)
+#endif
+
#include "cryptlib.h"
#include "misc.h"
#include "filters.h"
@@ -825,4 +831,8 @@ void AuthenticatedKeyAgreementDomain::GenerateEphemeralKeyPair(RandomNumberGener
NAMESPACE_END
+#ifdef _MSC_VER
+ #pragma warning(pop)
+#endif
+
#endif