diff options
author | Jeffrey Walton <noloader@gmail.com> | 2016-11-13 11:50:34 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2016-11-13 11:50:34 -0500 |
commit | 76b11b010c97d4fba5f6d5a48730191762413c9d (patch) | |
tree | a58a178391a0e6cd54439a25932a387ce00e1a32 /cast.h | |
parent | 5be05bce076a2e0ef11f80a1d9b493fb8078f8bb (diff) | |
download | cryptopp-git-76b11b010c97d4fba5f6d5a48730191762413c9d.tar.gz |
Add CRYPTOPP_STATIC_CONSTEXPR macro
Diffstat (limited to 'cast.h')
-rw-r--r-- | cast.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -23,7 +23,7 @@ protected: //! \brief CAST128 block cipher information
struct CAST128_Info : public FixedBlockSize<8>, public VariableKeyLength<16, 5, 16>
{
- CRYPTOPP_CONSTEXPR static const char *StaticAlgorithmName() {return "CAST-128";}
+ CRYPTOPP_STATIC_CONSTEXPR char* const StaticAlgorithmName() {return "CAST-128";}
};
//! \class CAST128
@@ -68,7 +68,7 @@ public: //! \brief CAST256 block cipher information
struct CAST256_Info : public FixedBlockSize<16>, public VariableKeyLength<16, 16, 32, 4>
{
- CRYPTOPP_CONSTEXPR static const char *StaticAlgorithmName() {return "CAST-256";}
+ CRYPTOPP_STATIC_CONSTEXPR char* const StaticAlgorithmName() {return "CAST-256";}
};
//! \class CAST256
|