summaryrefslogtreecommitdiff
path: root/pubkey.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-04-19 21:50:08 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-04-19 21:50:08 +0000
commit3fad9e85ea41905c05f369d56b9a14094847390b (patch)
tree004bcca3e47f2c000627d6709cc1adba1bfadc3f /pubkey.h
parent6560ae1aac5820f05377b2176cb8ba6dc6be2f7d (diff)
downloadcryptopp-3fad9e85ea41905c05f369d56b9a14094847390b.tar.gz
changes for VS.NET 2003
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@59 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'pubkey.h')
-rw-r--r--pubkey.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pubkey.h b/pubkey.h
index a31d536..a5fb704 100644
--- a/pubkey.h
+++ b/pubkey.h
@@ -747,13 +747,13 @@ void DL_PublicKey<T>::AssignFrom(const NameValuePairs &source)
class OID;
//! .
-template <class PK, class GP>
+template <class PK, class GP, class O = OID>
class DL_KeyImpl : public PK
{
public:
typedef GP GroupParameters;
- OID GetAlgorithmID() const {return GetGroupParameters().GetAlgorithmID();}
+ O GetAlgorithmID() const {return GetGroupParameters().GetAlgorithmID();}
// void BERDecode(BufferedTransformation &bt)
// {PK::BERDecode(bt);}
// void DEREncode(BufferedTransformation &bt) const