mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-13 08:17:38 +01:00
check ECIES flag for encrypted response
This commit is contained in:
parent
510b85fd23
commit
6b596bd05f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue