From 0b5509a1edbb033578b7971f55dca941ef183fde Mon Sep 17 00:00:00 2001 From: orignal Date: Sun, 25 Aug 2019 14:54:43 -0400 Subject: [PATCH] correct authClients offset --- libi2pd/LeaseSet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libi2pd/LeaseSet.cpp b/libi2pd/LeaseSet.cpp index 008a4594..c44a2f6f 100644 --- a/libi2pd/LeaseSet.cpp +++ b/libi2pd/LeaseSet.cpp @@ -875,7 +875,7 @@ namespace data { RAND_bytes (innerInput, 32); // authCookie htobe16buf (m_Buffer + offset, authKeys->size ()); offset += 2; // num clients - CreateClientAuthData (subcredential, authType, authKeys, innerInput, m_Buffer); + CreateClientAuthData (subcredential, authType, authKeys, innerInput, m_Buffer + offset); offset += authKeys->size ()*40; // auth clients } // Layer 2