From 180a6796fd546fdb4a4d26b6a3a815bca4db5645 Mon Sep 17 00:00:00 2001 From: weidai Date: Mon, 28 Apr 2003 17:37:05 +0000 Subject: make unintentional private functions public git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@66 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- pubkey.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pubkey.h') diff --git a/pubkey.h b/pubkey.h index 4899f53..ee600f4 100644 --- a/pubkey.h +++ b/pubkey.h @@ -474,6 +474,7 @@ class TF_EncryptorImpl : public TF_PublicObjectImpl class TF_SignerImpl : public TF_PrivateObjectImpl { +public: PK_MessageAccumulator * NewSignatureAccumulator(RandomNumberGenerator &rng) const { return new PK_MessageAccumulatorImpl; @@ -484,6 +485,7 @@ class TF_SignerImpl : public TF_PrivateObjectImpl template class TF_VerifierImpl : public TF_PublicObjectImpl { +public: PK_MessageAccumulator * NewVerificationAccumulator() const { return new PK_MessageAccumulatorImpl; @@ -1366,6 +1368,7 @@ public: template class DL_SignerImpl : public DL_PrivateObjectImpl, SCHEME_OPTIONS> { +public: PK_MessageAccumulator * NewSignatureAccumulator(RandomNumberGenerator &rng) const { std::auto_ptr p(new PK_MessageAccumulatorImpl); @@ -1378,6 +1381,7 @@ class DL_SignerImpl : public DL_PrivateObjectImpl class DL_VerifierImpl : public DL_PublicObjectImpl, SCHEME_OPTIONS> { +public: PK_MessageAccumulator * NewVerificationAccumulator() const { return new PK_MessageAccumulatorImpl; -- cgit v1.2.1