mirror of https://github.com/OpenVPN/openvpn-gui
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
parent
74eb72d478
commit
307bb34fa9
Loading…
Reference in new issue