1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-22 04:04:16 +00:00

fix previous commit

This commit is contained in:
Jeff Becker 2018-01-02 11:48:38 -05:00
parent 938d5d901a
commit 254bf313a2
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -441,7 +441,7 @@ namespace client
//uint64_t date = bufbe64toh(buf); //uint64_t date = bufbe64toh(buf);
buf += sizeof(uint64_t); buf += sizeof(uint64_t);
const uint8_t * sig = buf; const uint8_t * sig = buf;
if(ident.Verify(body, len - sizeof(uint16_t), sig)) if(ident.Verify(body, len - sizeof(uint16_t) - ident.GetSignatureLen(), sig))
{ {
if(m_Destination->Reconfigure(opts)) if(m_Destination->Reconfigure(opts))
{ {