Cleared warning 'extra ";" ignored'

pull/186/head
Jeffrey Walton 2016-06-08 16:22:47 -04:00
parent 5849050e14
commit f0f060bb8b
1 changed files with 2 additions and 2 deletions

4
hkdf.h
View File

@ -29,8 +29,8 @@ template <class T>
class HKDF : public KeyDerivationFunction class HKDF : public KeyDerivationFunction
{ {
public: public:
CRYPTOPP_CONSTANT(DIGESTSIZE = T::DIGESTSIZE); CRYPTOPP_CONSTANT(DIGESTSIZE = T::DIGESTSIZE)
CRYPTOPP_CONSTANT(SALTSIZE = T::DIGESTSIZE); CRYPTOPP_CONSTANT(SALTSIZE = T::DIGESTSIZE)
static const char* StaticAlgorithmName () { static const char* StaticAlgorithmName () {
static const std::string name(std::string("HKDF(") + std::string(T::StaticAlgorithmName()) + std::string(")")); static const std::string name(std::string("HKDF(") + std::string(T::StaticAlgorithmName()) + std::string(")"));
return name.c_str(); return name.c_str();