summaryrefslogtreecommitdiff
path: root/elgamal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'elgamal.cpp')
-rw-r--r--elgamal.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/elgamal.cpp b/elgamal.cpp
index ff0a1dcc..2deb6004 100644
--- a/elgamal.cpp
+++ b/elgamal.cpp
@@ -7,11 +7,13 @@
NAMESPACE_BEGIN(CryptoPP)
+#if !defined(NDEBUG) && !defined(CRYPTOPP_DOXYGEN_PROCESSING)
void ElGamal_TestInstantiations()
{
ElGamalEncryptor test1(1, 1, 1);
ElGamalDecryptor test2(NullRNG(), 123);
ElGamalEncryptor test3(test2);
}
+#endif
NAMESPACE_END