mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
Do not include Signature.h in Identity.h.
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include <cryptopp/dsa.h>
|
||||
#include "util/base64.h"
|
||||
#include "crypto/CryptoConst.h"
|
||||
#include "crypto/Signature.h"
|
||||
#include "crypto/ElGamal.h"
|
||||
#include "RouterContext.h"
|
||||
#include "Identity.h"
|
||||
@@ -370,6 +371,7 @@ namespace data
|
||||
delete verifier;
|
||||
}
|
||||
|
||||
|
||||
PrivateKeys& PrivateKeys::operator=(const Keys& keys)
|
||||
{
|
||||
m_Public = Identity (keys);
|
||||
@@ -391,6 +393,11 @@ namespace data
|
||||
CreateSigner ();
|
||||
return *this;
|
||||
}
|
||||
|
||||
PrivateKeys::~PrivateKeys()
|
||||
{
|
||||
delete m_Signer;
|
||||
}
|
||||
|
||||
size_t PrivateKeys::FromBuffer (const uint8_t * buf, size_t len)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user