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

ovpncli: fix uninitialied value in config_templ (CID 11125)

CID 11125 (#1 of 1): Uninitialized scalar variable (UNINIT)
8. uninit_use_in_call: Using uninitialized value
config_templ.enableNonPreferredDCAlgorithms when calling Config.
flood.cpp:1320

Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
This commit is contained in:
Frank Lichtenheld 2022-02-21 12:50:07 +01:00
parent a219ce0303
commit f3f6f580b3

View File

@ -333,9 +333,9 @@ namespace openvpn {
// By default modern OpenVPN version (OpenVPN 2.6 and OpenVPN core 3.7) will only allow
// preferred algorithms (AES-GCM, Chacha20-Poly1305) that also work with the newer DCO
// implementations. If this enable, we fall back to allowing all algorithms (if these are
// implementations. If this is enabled, we fall back to allowing all algorithms (if these are
// supported by the crypto library)
bool enableNonPreferredDCAlgorithms;
bool enableNonPreferredDCAlgorithms = false;
};
// used to communicate VPN events such as connect, disconnect, etc.