summaryrefslogtreecommitdiff
path: root/elgamal.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 /elgamal.h
parent5be05bce076a2e0ef11f80a1d9b493fb8078f8bb (diff)
downloadcryptopp-git-76b11b010c97d4fba5f6d5a48730191762413c9d.tar.gz
Add CRYPTOPP_STATIC_CONSTEXPR macro
Diffstat (limited to 'elgamal.h')
-rw-r--r--elgamal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/elgamal.h b/elgamal.h
index 934256a8..770ac2c5 100644
--- a/elgamal.h
+++ b/elgamal.h
@@ -138,7 +138,7 @@ struct ElGamal
{
typedef DL_CryptoSchemeOptions<ElGamal, ElGamalKeys, int, int, int> SchemeOptions;
- CRYPTOPP_CONSTEXPR static const char *StaticAlgorithmName() {return "ElgamalEnc/Crypto++Padding";}
+ CRYPTOPP_STATIC_CONSTEXPR char* const StaticAlgorithmName() {return "ElgamalEnc/Crypto++Padding";}
typedef SchemeOptions::GroupParameters GroupParameters;
//! implements PK_Encryptor interface