summaryrefslogtreecommitdiff
path: root/safer.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-11-13 11:50:34 -0500
committerJeffrey Walton <noloader@gmail.com>2016-11-13 11:50:34 -0500
commit76b11b010c97d4fba5f6d5a48730191762413c9d (patch)
treea58a178391a0e6cd54439a25932a387ce00e1a32 /safer.h
parent5be05bce076a2e0ef11f80a1d9b493fb8078f8bb (diff)
downloadcryptopp-git-76b11b010c97d4fba5f6d5a48730191762413c9d.tar.gz
Add CRYPTOPP_STATIC_CONSTEXPR macro
Diffstat (limited to 'safer.h')
-rw-r--r--safer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/safer.h b/safer.h
index 6be48474..ecb70c57 100644
--- a/safer.h
+++ b/safer.h
@@ -66,7 +66,7 @@ protected:
//! \brief SAFER-K block cipher information
struct SAFER_K_Info : public FixedBlockSize<8>, public VariableKeyLength<16, 8, 16, 8>, public VariableRounds<10, 1, 13>
{
- CRYPTOPP_CONSTEXPR static const char *StaticAlgorithmName() {return "SAFER-K";}
+ CRYPTOPP_STATIC_CONSTEXPR char* const StaticAlgorithmName() {return "SAFER-K";}
};
//! \class SAFER_K
@@ -83,7 +83,7 @@ public:
//! \brief SAFER-SK block cipher information
struct SAFER_SK_Info : public FixedBlockSize<8>, public VariableKeyLength<16, 8, 16, 8>, public VariableRounds<10, 1, 13>
{
- CRYPTOPP_CONSTEXPR static const char *StaticAlgorithmName() {return "SAFER-SK";}
+ CRYPTOPP_STATIC_CONSTEXPR char* const StaticAlgorithmName() {return "SAFER-SK";}
};
//! \class SAFER_SK