From 1c501761103d21d7c6c186cd0f807e6c6aee6fad Mon Sep 17 00:00:00 2001 From: weidai Date: Tue, 9 Mar 2004 12:46:29 +0000 Subject: base HMAC::AlgorithmName() on AlgorithmName() of hash function instead of StaticAlgorithmName() git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@152 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- hmac.h | 1 + 1 file changed, 1 insertion(+) (limited to 'hmac.h') diff --git a/hmac.h b/hmac.h index ff834aa..f8703ba 100644 --- a/hmac.h +++ b/hmac.h @@ -47,6 +47,7 @@ public: {SetKey(key, length);} static std::string StaticAlgorithmName() {return std::string("HMAC(") + T::StaticAlgorithmName() + ")";} + std::string AlgorithmName() const {return std::string("HMAC(") + m_hash.AlgorithmName() + ")";} private: HashTransformation & AccessHash() {return m_hash;} -- cgit v1.2.1