diff options
author | Jeffrey Walton <noloader@gmail.com> | 2016-09-08 01:30:29 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2016-09-08 01:30:29 -0400 |
commit | 01b40aab3167d36e052b61909448c1fdec92ebd9 (patch) | |
tree | 736a93490cc710316d36809ab3d4df9ececde3d5 /eccrypto.h | |
parent | 371154040e9bb36b8229651bc6800bcce44b2d50 (diff) | |
parent | be8a9f674281699995b7db08fcd8a51fdb1fce87 (diff) | |
download | cryptopp-git-01b40aab3167d36e052b61909448c1fdec92ebd9.tar.gz |
Merge 'master' into 'hmqv'
Diffstat (limited to 'eccrypto.h')
-rw-r--r-- | eccrypto.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -284,7 +284,7 @@ template <class EC> class DL_Algorithm_ECDSA : public DL_Algorithm_GDSA<typename EC::Point>
{
public:
- static const char * CRYPTOPP_API StaticAlgorithmName() {return "ECDSA";}
+ CRYPTOPP_CONSTEXPR static const char * CRYPTOPP_API StaticAlgorithmName() {return "ECDSA";}
#ifndef CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY_562
virtual ~DL_Algorithm_ECDSA() {}
@@ -296,7 +296,7 @@ template <class EC> class DL_Algorithm_ECNR : public DL_Algorithm_NR<typename EC::Point>
{
public:
- static const char * CRYPTOPP_API StaticAlgorithmName() {return "ECNR";}
+ CRYPTOPP_CONSTEXPR static const char * CRYPTOPP_API StaticAlgorithmName() {return "ECNR";}
#ifndef CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY_562
virtual ~DL_Algorithm_ECNR() {}
|