[openssl-project] Help deciding on PR 6341 (facilitate reading PKCS#12 objects in OSSL_STORE)

Richard Levitte levitte at openssl.org
Sun Jun 3 08:45:59 UTC 2018


In message <04337360-C1DB-4F02-AB85-CB1D679FCE85 at dukhovni.org> on Sat, 2 Jun 2018 14:27:42 -0400, Viktor Dukhovni <openssl-users at dukhovni.org> said:

openssl-users> > (it would have been smarter to have the PKCS12 routines take wchar_t
openssl-users> > strings rather than char strings...  hindsight is what it is...)
openssl-users> 
openssl-users> No, wchar_t is not defined to be a 16-bit BMPString compatible
openssl-users> encoding.  It is AFAIK a platform-specific string representation
openssl-users> that is not canonical.

Yeah, I just learned that myself.  Somehow, I thought wchar_t would be
Unicode characters.  So ok, with this information, UTF-8 makes
sense...

Cheers,
Richard

-- 
Richard Levitte         levitte at openssl.org
OpenSSL Project         http://www.openssl.org/~levitte/


More information about the openssl-project mailing list