mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-05-23 07:35:37 +02:00
lazy initialization or tunnel gateway's random buffer
This commit is contained in:
parent
cb61897236
commit
6c57ba36f7
2 changed files with 11 additions and 6 deletions
libi2pd
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2013-2020, The PurpleI2P Project
|
||||
* Copyright (c) 2013-2021, The PurpleI2P Project
|
||||
*
|
||||
* This file is part of Purple i2pd project and licensed under BSD3
|
||||
*
|
||||
|
@ -38,7 +38,7 @@ namespace tunnel
|
|||
std::vector<std::shared_ptr<const I2NPMessage> > m_TunnelDataMsgs;
|
||||
std::shared_ptr<I2NPMessage> m_CurrentTunnelDataMsg;
|
||||
size_t m_RemainingSize;
|
||||
uint8_t m_NonZeroRandomBuffer[TUNNEL_DATA_MAX_PAYLOAD_SIZE];
|
||||
uint8_t * m_NonZeroRandomBuffer;
|
||||
};
|
||||
|
||||
class TunnelGateway
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue