From e317188accea0636aeec57e71a70fb5cbac9df0c Mon Sep 17 00:00:00 2001 From: weidai Date: Tue, 9 Mar 2004 12:46:29 +0000 Subject: [PATCH] base HMAC::AlgorithmName() on AlgorithmName() of hash function instead of StaticAlgorithmName() --- trunk/c5/hmac.h | 1 + 1 file changed, 1 insertion(+) diff --git a/trunk/c5/hmac.h b/trunk/c5/hmac.h index ff834aa0..f8703ba2 100644 --- a/trunk/c5/hmac.h +++ b/trunk/c5/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;}