mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 12:24:19 +00:00
check ECIES flag for encrypted response
This commit is contained in:
parent
510b85fd23
commit
6b596bd05f
@ -944,7 +944,7 @@ namespace data
|
||||
if (replyTunnelID)
|
||||
{
|
||||
// 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 numTags = excluded[32];
|
||||
|
Loading…
x
Reference in New Issue
Block a user