summaryrefslogtreecommitdiff
path: root/eccrypto.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-09-08 01:30:29 -0400
committerJeffrey Walton <noloader@gmail.com>2016-09-08 01:30:29 -0400
commit01b40aab3167d36e052b61909448c1fdec92ebd9 (patch)
tree736a93490cc710316d36809ab3d4df9ececde3d5 /eccrypto.h
parent371154040e9bb36b8229651bc6800bcce44b2d50 (diff)
parentbe8a9f674281699995b7db08fcd8a51fdb1fce87 (diff)
downloadcryptopp-git-01b40aab3167d36e052b61909448c1fdec92ebd9.tar.gz
Merge 'master' into 'hmqv'
Diffstat (limited to 'eccrypto.h')
-rw-r--r--eccrypto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/eccrypto.h b/eccrypto.h
index 41aa5b51..b9178d2d 100644
--- a/eccrypto.h
+++ b/eccrypto.h
@@ -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() {}