mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 08:14:15 +00:00
fixed incorrect second signature
This commit is contained in:
parent
b917aeaa0b
commit
52ff568d86
@ -70,6 +70,7 @@ namespace crypto
|
|||||||
void EDDSA25519Signer::Sign (const uint8_t * buf, int len, uint8_t * signature) const
|
void EDDSA25519Signer::Sign (const uint8_t * buf, int len, uint8_t * signature) const
|
||||||
{
|
{
|
||||||
size_t l = 64;
|
size_t l = 64;
|
||||||
|
EVP_DigestSignInit (m_MDCtx, NULL, NULL, NULL, NULL);
|
||||||
EVP_DigestSign (m_MDCtx, signature, &l, buf, len);
|
EVP_DigestSign (m_MDCtx, signature, &l, buf, len);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user