From 445926e60c66a92c6bc6bca6544bc13827241623 Mon Sep 17 00:00:00 2001 From: weidai Date: Mon, 16 Apr 2007 00:15:34 +0000 Subject: fix missing function git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@297 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- dh2.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dh2.cpp') 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, -- cgit v1.2.1