Browse Source

fix previous commit

pull/1130/head
Jeff Becker 7 years ago
parent
commit
254bf313a2
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
  1. 2
      libi2pd_client/I2CP.cpp

2
libi2pd_client/I2CP.cpp

@ -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))
{ {

Loading…
Cancel
Save