mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-12 20:36:38 +01:00
fixed incorrect second signature
This commit is contained in:
parent
b917aeaa0b
commit
52ff568d86
1 changed files with 1 additions and 0 deletions
|
@ -70,6 +70,7 @@ namespace crypto
|
|||
void EDDSA25519Signer::Sign (const uint8_t * buf, int len, uint8_t * signature) const
|
||||
{
|
||||
size_t l = 64;
|
||||
EVP_DigestSignInit (m_MDCtx, NULL, NULL, NULL, NULL);
|
||||
EVP_DigestSign (m_MDCtx, signature, &l, buf, len);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue