From 76b11b010c97d4fba5f6d5a48730191762413c9d Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sun, 13 Nov 2016 11:50:34 -0500 Subject: Add CRYPTOPP_STATIC_CONSTEXPR macro --- salsa.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'salsa.h') diff --git a/salsa.h b/salsa.h index 623b36f7..9a55fda2 100644 --- a/salsa.h +++ b/salsa.h @@ -22,7 +22,7 @@ NAMESPACE_BEGIN(CryptoPP) //! \brief Salsa20 stream cipher information struct Salsa20_Info : public VariableKeyLength<32, 16, 32, 16, SimpleKeyingInterface::UNIQUE_IV, 8> { - CRYPTOPP_CONSTEXPR static const char *StaticAlgorithmName() {return "Salsa20";} + CRYPTOPP_STATIC_CONSTEXPR char* const StaticAlgorithmName() {return "Salsa20";} }; //! \class Salsa20_Policy @@ -58,7 +58,7 @@ struct Salsa20 : public Salsa20_Info, public SymmetricCipherDocumentation //! \brief XSalsa20 stream cipher information struct XSalsa20_Info : public FixedKeyLength<32, SimpleKeyingInterface::UNIQUE_IV, 24> { - CRYPTOPP_CONSTEXPR static const char *StaticAlgorithmName() {return "XSalsa20";} + CRYPTOPP_STATIC_CONSTEXPR char* const StaticAlgorithmName() {return "XSalsa20";} }; //! \class XSalsa20_Policy -- cgit v1.2.1