Silence g++ warnings.
This commit is contained in:
parent
aa9f63acfe
commit
a6c0902ad7
@ -16,7 +16,7 @@ struct PacketInfo {
|
|||||||
enum { Common, EndToEnd } type = Common;
|
enum { Common, EndToEnd } type = Common;
|
||||||
uint64 auth_key_id{0};
|
uint64 auth_key_id{0};
|
||||||
uint32 message_ack{0};
|
uint32 message_ack{0};
|
||||||
UInt128 message_key{};
|
UInt128 message_key;
|
||||||
|
|
||||||
uint64 salt{0};
|
uint64 salt{0};
|
||||||
uint64 session_id{0};
|
uint64 session_id{0};
|
||||||
|
@ -193,7 +193,7 @@ class ObfuscatedTransport final : public IStreamTransport {
|
|||||||
// TODO: use ByteFlow?
|
// TODO: use ByteFlow?
|
||||||
// One problem is that BufferedFd owns output_buffer_
|
// One problem is that BufferedFd owns output_buffer_
|
||||||
// The other problem is that first 56 bytes must be sent unencrypted.
|
// The other problem is that first 56 bytes must be sent unencrypted.
|
||||||
UInt256 output_key_{};
|
UInt256 output_key_;
|
||||||
AesCtrState output_state_;
|
AesCtrState output_state_;
|
||||||
ChainBufferWriter *output_ = nullptr;
|
ChainBufferWriter *output_ = nullptr;
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ class FileUploader final : public FileLoader {
|
|||||||
FileType file_type_ = FileType::Temp;
|
FileType file_type_ = FileType::Temp;
|
||||||
|
|
||||||
std::vector<UInt256> iv_map_;
|
std::vector<UInt256> iv_map_;
|
||||||
UInt256 iv_{};
|
UInt256 iv_;
|
||||||
string generate_iv_;
|
string generate_iv_;
|
||||||
int64 generate_offset_ = 0;
|
int64 generate_offset_ = 0;
|
||||||
int64 next_offset_ = 0;
|
int64 next_offset_ = 0;
|
||||||
|
@ -134,7 +134,7 @@ class Binlog {
|
|||||||
|
|
||||||
// AesCtrEncryption
|
// AesCtrEncryption
|
||||||
BufferSlice aes_ctr_key_salt_;
|
BufferSlice aes_ctr_key_salt_;
|
||||||
UInt256 aes_ctr_key_{};
|
UInt256 aes_ctr_key_;
|
||||||
AesCtrState aes_ctr_state_;
|
AesCtrState aes_ctr_state_;
|
||||||
|
|
||||||
bool byte_flow_flag_ = false;
|
bool byte_flow_flag_ = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user