summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--elgamal.cpp3
-rw-r--r--mqv.cpp3
2 files changed, 6 insertions, 0 deletions
diff --git a/elgamal.cpp b/elgamal.cpp
index 13c2a9be..9871c538 100644
--- a/elgamal.cpp
+++ b/elgamal.cpp
@@ -5,6 +5,9 @@
#include "asn.h"
#include "nbtheory.h"
+// Squash MS LNK4221 and libtool warnings
+extern const char ELGAMAL_FNAME[] = __FILE__;
+
NAMESPACE_BEGIN(CryptoPP)
#if defined(CRYPTOPP_DEBUG) && !defined(CRYPTOPP_DOXYGEN_PROCESSING)
diff --git a/mqv.cpp b/mqv.cpp
index 03896910..1189dfb1 100644
--- a/mqv.cpp
+++ b/mqv.cpp
@@ -8,6 +8,9 @@
#include "hmqv.h"
#include "fhmqv.h"
+// Squash MS LNK4221 and libtool warnings
+extern const char MQV_FNAME[] = __FILE__;
+
NAMESPACE_BEGIN(CryptoPP)
#if defined(CRYPTOPP_DEBUG) && !defined(CRYPTOPP_DOXYGEN_PROCESSING)