On Thu, Nov 19, 2015 at 11:16:23PM +0100, Andy Polyakov wrote: > > The way I read PKCS12 the string should be big-endian UTF-16 one. [...] > Correct procedure should be to convert it to wchar_t and > then ensure correct endianness.
Please note that wchar_t itself might not have any relation with UTF. You should explictly convert from the locale charmap to UTF16-BE. Depending on the OS, there are functions available to ask what the current encoding is and convert between encodings. Kurt _______________________________________________ openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev