crypto/ui/ui_openssl.c: UTF-y Windows code path.
authorAndy Polyakov <appro@openssl.org>
Tue, 19 Jul 2016 11:52:49 +0000 (13:52 +0200)
committerAndy Polyakov <appro@openssl.org>
Mon, 1 Aug 2016 08:10:28 +0000 (10:10 +0200)
commit087d3e89932e00eede95353fbd988e2752bc2468
tree795ca834a70b24e409db57850bcfc57f2ef7e7cb
parent4e155ec47e73ed95e15b9e875b3c7fdfcbf13496
crypto/ui/ui_openssl.c: UTF-y Windows code path.

Windows never composes UTF-8 strings as result of user interaction
such as input query. The only way to compose one is programmatic
conversion from WCHAR string, which in turn can be picked up with
ReadConsoleW.

Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/ui/ui_openssl.c