0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 12:12:15 +02:00
openvpn3/test/ovpncli
Lev Stipakov 4d7c12ac4d [OVPN3-405] Support for non-ASCII profile path on Windows
This uses Windows-specific wchar_t override of std::ifstream
to make it work with UNICODE paths. It is assumed that caller
passes UTF8-encoded string.

To support passing non-ASCII chars via command line, we
read it as wstring and then convert to UTF-8 encoded string.

Signed-off-by: Lev Stipakov <lev@openvpn.net>
2019-04-30 17:45:01 +03:00
..
.gitignore Minor gitignore mod. 2015-06-11 12:32:42 -06:00
cli.cpp [OVPN3-405] Support for non-ASCII profile path on Windows 2019-04-30 17:45:01 +03:00
go [OVPN3-315] cli/go: add option to compile SITNL component 2018-11-30 08:51:14 +10:00
README.txt mbedTLS: Port from polarssl-1.3 to mbedtls-2.3 (symbol renames) 2017-03-18 12:24:54 -06:00

Build on Mac:

  With MbedTLS:
    GCC_EXTRA="-ferror-limit=4" STRIP=1 MTLS=1 SNAP=1 LZ4=1 build cli

  With MbedTLS and Minicrypto:
    GCC_EXTRA="-ferror-limit=4" STRIP=1 MTLS=1 MINI=1 SNAP=1 LZ4=1 build cli

  With MbedTLS, Minicrypto, and C++11 for optimized move constructors:
    GCC_EXTRA="-ferror-limit=4 -std=c++11" STRIP=1 MTLS=1 MINI=1 SNAP=1 LZ4=1 build cli

  With OpenSSL:
    GCC_EXTRA="-ferror-limit=4" STRIP=1 OSSL=1 OPENSSL_SYS=1 SNAP=1 LZ4=1 build cli

  With MbedTLS/AppleCrypto hybrid:
    GCC_EXTRA="-ferror-limit=4" STRIP=1 HYBRID=1 SNAP=1 LZ4=1 build cli

Build on Linux:

  With MbedTLS:
    STRIP=1 SNAP=1 LZ4=1 MTLS=1 NOSSL=1 build cli

  With OpenSSL:
    STRIP=1 SNAP=1 LZ4=1 build cli