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 /eccrypto.h | |
parent | 5be05bce076a2e0ef11f80a1d9b493fb8078f8bb (diff) | |
download | cryptopp-git-76b11b010c97d4fba5f6d5a48730191762413c9d.tar.gz |
Add CRYPTOPP_STATIC_CONSTEXPR macro
Diffstat (limited to 'eccrypto.h')
-rw-r--r-- | eccrypto.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -309,7 +309,7 @@ template <class EC> class DL_Algorithm_ECDSA : public DL_Algorithm_GDSA<typename EC::Point>
{
public:
- CRYPTOPP_CONSTEXPR static const char * CRYPTOPP_API StaticAlgorithmName() {return "ECDSA";}
+ CRYPTOPP_STATIC_CONSTEXPR char* const CRYPTOPP_API StaticAlgorithmName() {return "ECDSA";}
#ifndef CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY_562
virtual ~DL_Algorithm_ECDSA() {}
@@ -323,7 +323,7 @@ template <class EC> class DL_Algorithm_ECNR : public DL_Algorithm_NR<typename EC::Point>
{
public:
- CRYPTOPP_CONSTEXPR static const char * CRYPTOPP_API StaticAlgorithmName() {return "ECNR";}
+ CRYPTOPP_STATIC_CONSTEXPR char* const CRYPTOPP_API StaticAlgorithmName() {return "ECNR";}
#ifndef CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY_562
virtual ~DL_Algorithm_ECNR() {}
|