mirror of https://github.com/OpenVPN/openvpn-gui
Browse Source
By default CryptBinaryToString used for base64 encoding adds CRLF every 76 characters or so. As LF is used as the message delimiter by the management interface, this breaks handling of static challenge. Fix by setting CRYPT_STRING_NOCRLF in the flags. With this change, the trailing '\r\n' removal is no longer required. Fixes Issue 317: https://github.com/OpenVPN/openvpn-gui/issues/317 Signed-off-by: Selva Nair <selva.nair@gmail.com>pull/333/head
Selva Nair
5 years ago
1 changed files with 3 additions and 8 deletions
Loading…
Reference in new issue