0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 04:02:15 +02:00

Explictly initialise enable_nonpreferred_dcalgs as all other variables

This might be an noop as this might be default initialised but better
safe than sorry.

Reported-By: Trail of Bits (TOB-OVPN3-8)
This commit is contained in:
Arne Schwabe 2023-01-17 15:03:56 +01:00
parent e64f710ea6
commit 6de146361e

View File

@ -157,7 +157,7 @@ class ClientOptions : public RC<thread_unsafe_refcount>
std::string tls_cipher_list;
std::string tls_ciphersuite_list;
bool enable_legacy_algorithms = false;
bool enable_nonpreferred_dcalgs;
bool enable_nonpreferred_dcalgs = false;
PeerInfo::Set::Ptr extra_peer_info;
#ifdef OPENVPN_PLATFORM_ANDROID
bool enable_route_emulation = true;