diff -U2 -r /var/lib/copr-rpmbuild/results/i2pd-git/upstream-unpacked/Source0/i2pd-openssl/libi2pd/NTCP2.cpp /var/lib/copr-rpmbuild/results/i2pd-git/srpm-unpacked/i2pd-openssl.tar.gz-extract/i2pd-openssl/libi2pd/NTCP2.cpp --- /var/lib/copr-rpmbuild/results/i2pd-git/upstream-unpacked/Source0/i2pd-openssl/libi2pd/NTCP2.cpp 2026-08-31 20:12:40.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/i2pd-git/srpm-unpacked/i2pd-openssl.tar.gz-extract/i2pd-openssl/libi2pd/NTCP2.cpp 2026-08-31 20:04:06.000000000 +0000 @@ -1284,12 +1284,6 @@ if (offset + size > len) { - if (blk == eNTCP2BlkPadding) - // padding is always last block and we set size up to end of frame - size = len - offset; - else - { - LogPrint (eLogError, "NTCP2: Unexpected block length ", size, " of type ", (int)blk); - break; - } + LogPrint (eLogError, "NTCP2: Unexpected block length ", size); + break; } switch (blk)