diff options
author | Ralph Tandetzky <ralph.tandetzky@optimeas.de> | 2016-12-01 15:37:04 +0100 |
---|---|---|
committer | Ralph Tandetzky <ralph.tandetzky@optimeas.de> | 2016-12-01 15:37:04 +0100 |
commit | 35a2ef10a23a9b668428c931f408a4a8154adbc9 (patch) | |
tree | 78cf235ef9ebb1191e42a93ed59090ffbe705b3c /luc.h | |
parent | 3fc97d2bfff25d571049466a6803e8edcad2ceb4 (diff) | |
download | cryptopp-git-35a2ef10a23a9b668428c931f408a4a8154adbc9.tar.gz |
Fix: GCC warning "type qualifiers ignored on function return type".
This pedantic message appeared all over the code. Also removed one warning about an unused variable in release build.
Diffstat (limited to 'luc.h')
-rw-r--r-- | luc.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -232,7 +232,7 @@ protected: class DL_Algorithm_LUC_HMP : public DL_ElgamalLikeSignatureAlgorithm<Integer>
{
public:
- CRYPTOPP_STATIC_CONSTEXPR char* const StaticAlgorithmName() {return "LUC-HMP";}
+ CRYPTOPP_STATIC_CONSTEXPR const char* StaticAlgorithmName() {return "LUC-HMP";}
void Sign(const DL_GroupParameters<Integer> ¶ms, const Integer &x, const Integer &k, const Integer &e, Integer &r, Integer &s) const;
bool Verify(const DL_GroupParameters<Integer> ¶ms, const DL_PublicKey<Integer> &publicKey, const Integer &e, const Integer &r, const Integer &s) const;
|