From 254bf313a2e5cbc6fbcff656ea6c4da2c0eea24a Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Tue, 2 Jan 2018 11:48:38 -0500 Subject: [PATCH] fix previous commit --- libi2pd_client/I2CP.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libi2pd_client/I2CP.cpp b/libi2pd_client/I2CP.cpp index 293f4067..5717ab50 100644 --- a/libi2pd_client/I2CP.cpp +++ b/libi2pd_client/I2CP.cpp @@ -441,7 +441,7 @@ namespace client //uint64_t date = bufbe64toh(buf); buf += sizeof(uint64_t); 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)) {