diff options
author | bobsayshilol <bobsayshilol@live.co.uk> | 2018-11-14 03:04:03 +0000 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-11-13 22:04:03 -0500 |
commit | 7f8d3e8882a7e4d389351802446e7bbf5726806a (patch) | |
tree | e5b910c4ce4533ed4b039951b24e6d6fd28b46d4 /gf2n.h | |
parent | fc1e98e70d425bc8fd3780c237a43f2facfc1460 (diff) | |
download | cryptopp-git-7f8d3e8882a7e4d389351802446e7bbf5726806a.tar.gz |
Miscellaneos warning fixes (GH #739)
* Fix -pedantic warning in GCC.
* Fix -Wunused-private-field warning.
* Fix -Wkeyword-macro warning.
Diffstat (limited to 'gf2n.h')
-rw-r--r-- | gf2n.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -357,13 +357,13 @@ class CRYPTOPP_DLL GF2NPP : public GF2NP public:
// polynomial modulus = x^t0 + x^t1 + x^t2 + x^t3 + x^t4, t0 > t1 > t2 > t3 > t4
GF2NPP(unsigned int t0, unsigned int t1, unsigned int t2, unsigned int t3, unsigned int t4)
- : GF2NP(PolynomialMod2::Pentanomial(t0, t1, t2, t3, t4)), t0(t0), t1(t1), t2(t2), t3(t3) {}
+ : GF2NP(PolynomialMod2::Pentanomial(t0, t1, t2, t3, t4)), t1(t1), t2(t2), t3(t3) {}
GF2NP * Clone() const {return new GF2NPP(*this);}
void DEREncode(BufferedTransformation &bt) const;
private:
- unsigned int t0, t1, t2, t3;
+ unsigned int t1, t2, t3;
};
// construct new GF2NP from the ASN.1 sequence Characteristic-two
|