0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 12:12:15 +02:00
openvpn3/test
James Yonan f669831556 Base64: fixed issue where decode() method would ignore bad chars rather than throwing base64_decode_error()
Added a unit test to confirm the fix.

Other changes:

* In Base64 decode(), avoid the use of std::strlen() in favor
  of std::string length() method since a std::string could
  conceivably contain embedded null chars.

* In Base64 unit test, renamed b64_test_bad() to
  b64_test_bad_decode() for clarity.

Signed-off-by: James Yonan <james@openvpn.net>
2020-03-11 11:11:56 -06:00
..
ovpncli system_cmd_async: added optional sigset_t* parameter to configure signals in child 2020-02-28 11:56:04 -07:00
ssl Increase frame size in proto test to 378 2020-02-18 18:50:27 +01:00
unittests Base64: fixed issue where decode() method would ignore bad chars rather than throwing base64_decode_error() 2020-03-11 11:11:56 -06:00
unused [OVPN3-140] Update company names in copyrights 2017-12-22 17:59:39 +08:00