summaryrefslogtreecommitdiff
path: root/dh2.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2007-04-16 00:15:34 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2007-04-16 00:15:34 +0000
commit445926e60c66a92c6bc6bca6544bc13827241623 (patch)
tree3e2472dbecc5f95a98a2b24afd41631de5a8da26 /dh2.cpp
parentd77869e84603f1b0003d73894c7654df6fae328b (diff)
downloadcryptopp-445926e60c66a92c6bc6bca6544bc13827241623.tar.gz
fix missing function
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@297 57ff6487-cd31-0410-9ec3-f628ee90f5f0
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,