summaryrefslogtreecommitdiff
path: root/dh2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dh2.cpp')
-rw-r--r--dh2.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/dh2.cpp b/dh2.cpp
index 19e60c3..98175ee 100644
--- a/dh2.cpp
+++ b/dh2.cpp
@@ -5,6 +5,11 @@
NAMESPACE_BEGIN(CryptoPP)
+void DH2_TestInstantiations()
+{
+ DH2 dh(*(SimpleKeyAgreementDomain*)NULL);
+}
+
bool DH2::Agree(byte *agreedValue,
const byte *staticSecretKey, const byte *ephemeralSecretKey,
const byte *staticOtherPublicKey, const byte *ephemeralOtherPublicKey,