summaryrefslogtreecommitdiff
path: root/pubkey.h
diff options
context:
space:
mode:
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