aboutsummaryrefslogtreecommitdiffstats
path: root/src/pk_pad/emsa1
diff options
context:
space:
mode:
Diffstat (limited to 'src/pk_pad/emsa1')
-rw-r--r--src/pk_pad/emsa1/emsa1.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pk_pad/emsa1/emsa1.h b/src/pk_pad/emsa1/emsa1.h
index 2de2d325e..8a15e2bfe 100644
--- a/src/pk_pad/emsa1/emsa1.h
+++ b/src/pk_pad/emsa1/emsa1.h
@@ -18,6 +18,8 @@ class BOTAN_DLL EMSA1 : public EMSA
public:
EMSA1(HashFunction* h) : hash(h) {}
~EMSA1() { delete hash; }
+ protected:
+ const HashFunction* hash_ptr() const { return hash; }
private:
void update(const byte[], u32bit);
SecureVector<byte> raw_data();