summaryrefslogtreecommitdiff
path: root/des.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 /des.h
parent5be05bce076a2e0ef11f80a1d9b493fb8078f8bb (diff)
downloadcryptopp-git-76b11b010c97d4fba5f6d5a48730191762413c9d.tar.gz
Add CRYPTOPP_STATIC_CONSTEXPR macro
Diffstat (limited to 'des.h')
-rw-r--r--des.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/des.h b/des.h
index 0b621b1d..80962738 100644
--- a/des.h
+++ b/des.h
@@ -30,7 +30,7 @@ protected:
struct DES_Info : public FixedBlockSize<8>, public FixedKeyLength<8>
{
// disable DES in DLL version by not exporting this function
- CRYPTOPP_CONSTEXPR static const char *StaticAlgorithmName() {return "DES";}
+ CRYPTOPP_STATIC_CONSTEXPR char* const StaticAlgorithmName() {return "DES";}
};
//! \class DES
@@ -125,7 +125,7 @@ public:
//! \brief DESX block cipher information
struct DES_XEX3_Info : public FixedBlockSize<8>, public FixedKeyLength<24>
{
- CRYPTOPP_CONSTEXPR static const char *StaticAlgorithmName() {return "DES-XEX3";}
+ CRYPTOPP_STATIC_CONSTEXPR char* const StaticAlgorithmName() {return "DES-XEX3";}
};
//! \class DES_XEX3