apps/openssl.c: UTF-y Windows argv.
authorAndy Polyakov <appro@openssl.org>
Sat, 16 Jul 2016 21:21:39 +0000 (23:21 +0200)
committerAndy Polyakov <appro@openssl.org>
Mon, 1 Aug 2016 07:52:06 +0000 (09:52 +0200)
commit4e155ec47e73ed95e15b9e875b3c7fdfcbf13496
tree6bb90438ff29475903db0c9df1c1ef7c714b1993
parente72769aa41c3f49e0f39f44de222fc5ac339e3e0
apps/openssl.c: UTF-y Windows argv.

Windows never composes UTF-8 strings as result of user interaction
such as passing command-line argument. The only way to compose one
is programmatic conversion from WCHAR string, which in turn can be
picked up on command line.

[For reference, why not wmain, it's not an option on MinGW.]

Reviewed-by: Richard Levitte <levitte@openssl.org>
Configurations/10-main.conf
apps/apps.h
apps/openssl.c
apps/win32_init.c [new file with mode: 0644]