mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 08:00:38 +03:00
check ECIES flag for encrypted response
This commit is contained in:
parent
510b85fd23
commit
6b596bd05f
@ -944,7 +944,7 @@ namespace data
|
|||||||
if (replyTunnelID)
|
if (replyTunnelID)
|
||||||
{
|
{
|
||||||
// encryption might be used though tunnel only
|
// encryption might be used though tunnel only
|
||||||
if (flag & DATABASE_LOOKUP_ENCRYPTION_FLAG) // encrypted reply requested
|
if (flag & (DATABASE_LOOKUP_ENCRYPTION_FLAG | DATABASE_LOOKUP_ECIES_FLAG)) // encrypted reply requested
|
||||||
{
|
{
|
||||||
const uint8_t * sessionKey = excluded;
|
const uint8_t * sessionKey = excluded;
|
||||||
const uint8_t numTags = excluded[32];
|
const uint8_t numTags = excluded[32];
|
||||||
|
Loading…
Reference in New Issue
Block a user