diff -U2 -r /var/lib/copr-rpmbuild/results/i2pd-git/upstream-unpacked/Source0/i2pd-openssl/libi2pd/ECIESX25519AEADRatchetSession.cpp /var/lib/copr-rpmbuild/results/i2pd-git/srpm-unpacked/i2pd-openssl.tar.gz-extract/i2pd-openssl/libi2pd/ECIESX25519AEADRatchetSession.cpp --- /var/lib/copr-rpmbuild/results/i2pd-git/upstream-unpacked/Source0/i2pd-openssl/libi2pd/ECIESX25519AEADRatchetSession.cpp 2025-12-10 23:02:22.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/i2pd-git/srpm-unpacked/i2pd-openssl.tar.gz-extract/i2pd-openssl/libi2pd/ECIESX25519AEADRatchetSession.cpp 2025-12-10 21:04:33.000000000 +0000 @@ -993,5 +993,5 @@ if (*it != nullptr) { - if ((*it)->GetPayloadLength () + 13 + len > ECIESX25519_OPTIMAL_PAYLOAD_SIZE) + if ((*it)->GetPayloadLength () + 45 + len > ECIESX25519_OPTIMAL_PAYLOAD_SIZE) { auto paddingSize = GetNextPaddingSize (len); @@ -1001,5 +1001,5 @@ len = 0; } - len += CreateGarlicClove (*it, payload + len, I2NP_MAX_MESSAGE_SIZE - len, true); + len += CreateGarlicClove (*it, payload + len, I2NP_MAX_MESSAGE_SIZE - len); } it++; @@ -1252,6 +1252,5 @@ } - size_t ECIESX25519AEADRatchetSession::CreateGarlicClove (std::shared_ptr msg, - uint8_t * buf, size_t len, bool alwaysLocal) + size_t ECIESX25519AEADRatchetSession::CreateGarlicClove (std::shared_ptr msg, uint8_t * buf, size_t len) { if (!msg) return 0; @@ -1262,5 +1261,5 @@ htobe16buf (buf + 1, cloveSize); // size buf += 3; - if (!alwaysLocal && m_Destination) + if (m_Destination) { *buf = (eGarlicDeliveryTypeDestination << 5); diff -U2 -r /var/lib/copr-rpmbuild/results/i2pd-git/upstream-unpacked/Source0/i2pd-openssl/libi2pd/ECIESX25519AEADRatchetSession.h /var/lib/copr-rpmbuild/results/i2pd-git/srpm-unpacked/i2pd-openssl.tar.gz-extract/i2pd-openssl/libi2pd/ECIESX25519AEADRatchetSession.h --- /var/lib/copr-rpmbuild/results/i2pd-git/upstream-unpacked/Source0/i2pd-openssl/libi2pd/ECIESX25519AEADRatchetSession.h 2025-12-10 23:02:22.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/i2pd-git/srpm-unpacked/i2pd-openssl.tar.gz-extract/i2pd-openssl/libi2pd/ECIESX25519AEADRatchetSession.h 2025-12-10 21:04:33.000000000 +0000 @@ -220,5 +220,5 @@ size_t CreatePayload (std::shared_ptr msg, bool first, uint8_t * payload); - size_t CreateGarlicClove (std::shared_ptr msg, uint8_t * buf, size_t len, bool alwaysLocal = false); + size_t CreateGarlicClove (std::shared_ptr msg, uint8_t * buf, size_t len); size_t CreateLeaseSetClove (std::shared_ptr ls, uint64_t ts, uint8_t * buf, size_t len); size_t CreatePaddingClove (uint8_t paddingSize, uint8_t * buf, size_t len);