Fix "X causes a section type conflict with Y" for GCC on AIX (GH #499)
We have no idea what caused the issue or why it fixed itpull/507/head
parent
58890ff053
commit
51752cb91a
|
|
@ -516,7 +516,7 @@ template <class GP>
|
||||||
class DL_PrivateKey_GFP : public DL_PrivateKeyImpl<GP>
|
class DL_PrivateKey_GFP : public DL_PrivateKeyImpl<GP>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual ~DL_PrivateKey_GFP() {}
|
virtual ~DL_PrivateKey_GFP();
|
||||||
|
|
||||||
//! \brief Create a private key
|
//! \brief Create a private key
|
||||||
//! \param rng a RandomNumberGenerator derived class
|
//! \param rng a RandomNumberGenerator derived class
|
||||||
|
|
@ -570,6 +570,10 @@ public:
|
||||||
{this->AccessGroupParameters().Initialize(p, q, g); this->SetPrivateExponent(x);}
|
{this->AccessGroupParameters().Initialize(p, q, g); this->SetPrivateExponent(x);}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Out-of-line dtor due to AIX and GCC, http://github.com/weidai11/cryptopp/issues/499
|
||||||
|
template <class GP>
|
||||||
|
DL_PrivateKey_GFP<GP>::~DL_PrivateKey_GFP() {}
|
||||||
|
|
||||||
//! \class DL_SignatureKeys_GFP
|
//! \class DL_SignatureKeys_GFP
|
||||||
//! \brief Discrete Log (DL) signing/verification keys in GF(p) groups
|
//! \brief Discrete Log (DL) signing/verification keys in GF(p) groups
|
||||||
struct DL_SignatureKeys_GFP
|
struct DL_SignatureKeys_GFP
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue