Cleared unused function warnings
parent
ea75b3ae5f
commit
70bddb83ef
|
|
@ -11,6 +11,10 @@
|
||||||
#include "argnames.h"
|
#include "argnames.h"
|
||||||
#include "ec2n.h"
|
#include "ec2n.h"
|
||||||
|
|
||||||
|
#if GCC_DIAGNOSTIC_AWARE
|
||||||
|
# pragma GCC diagnostic ignored "-Wunused-function"
|
||||||
|
#endif
|
||||||
|
|
||||||
NAMESPACE_BEGIN(CryptoPP)
|
NAMESPACE_BEGIN(CryptoPP)
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
|
@ -436,7 +440,7 @@ template <class EC> void DL_GroupParameters_EC<EC>::Initialize(const OID &oid)
|
||||||
Element G;
|
Element G;
|
||||||
bool result = GetCurve().DecodePoint(G, ssG, (size_t)ssG.MaxRetrievable());
|
bool result = GetCurve().DecodePoint(G, ssG, (size_t)ssG.MaxRetrievable());
|
||||||
this->SetSubgroupGenerator(G);
|
this->SetSubgroupGenerator(G);
|
||||||
assert(result);
|
assert(result); CRYPTOPP_UNUSED(result);
|
||||||
|
|
||||||
StringSource ssN(param.n, true, new HexDecoder);
|
StringSource ssN(param.n, true, new HexDecoder);
|
||||||
m_n.Decode(ssN, (size_t)ssN.MaxRetrievable());
|
m_n.Decode(ssN, (size_t)ssN.MaxRetrievable());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue