summaryrefslogtreecommitdiff
path: root/eccrypto.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-06-02 05:18:52 -0400
committerJeffrey Walton <noloader@gmail.com>2017-06-02 05:18:52 -0400
commit7ac77ca9ac780a3b027e59d23433a5e1e027e93f (patch)
treea0ef6365da4f658f632316fbd4d0804dd20e713f /eccrypto.h
parentc3871aec948013c1a4d5613050c659520f59e2e4 (diff)
downloadcryptopp-git-7ac77ca9ac780a3b027e59d23433a5e1e027e93f.tar.gz
Revert "Revert "Clear Visual Studio warnings (Issue 412)""
This reverts commit c3871aec948013c1a4d5613050c659520f59e2e4.
Diffstat (limited to 'eccrypto.h')
-rw-r--r--eccrypto.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/eccrypto.h b/eccrypto.h
index 2a1836c2..a4bf3e75 100644
--- a/eccrypto.h
+++ b/eccrypto.h
@@ -22,6 +22,11 @@
#include "ecp.h"
#include "ec2n.h"
+#if CRYPTOPP_MSC_VERSION
+# pragma warning(push)
+# pragma warning(disable: 4231 4275)
+#endif
+
NAMESPACE_BEGIN(CryptoPP)
//! \brief Elliptic Curve Parameters
@@ -665,4 +670,8 @@ CRYPTOPP_DLL_TEMPLATE_CLASS DL_PrivateKey_WithSignaturePairwiseConsistencyTest<D
NAMESPACE_END
+#if CRYPTOPP_MSC_VERSION
+# pragma warning(pop)
+#endif
+
#endif