mirror of https://github.com/OpenVPN/openvpn-gui
Browse Source
As we now allow users to set a management password (for persistent connections), the max size of password should match what openvpn.exe can handle (128 or 4096 bytes depending on build options). Increase the buffer size to 4096 though such large passwords may not work in practice. 127 bytes + NUL, may be a safe upper limit. For the random password used for connections spawned by the GUI, the current size of 15 bytes + NUL is retained. Fixes: #567 Signed-off-by: Selva Nair <selva.nair@gmail.com>pull/570/head
Selva Nair
2 years ago
2 changed files with 15 additions and 9 deletions
Loading…
Reference in new issue