]> git.ipfire.org Git - thirdparty/openssl.git/commit
crypto: windows: use LPCTSTR for the temp registry buffer
authorHugo Beauzée-Luyssen <hugo@beauzee.fr>
Mon, 27 Jan 2025 07:36:30 +0000 (08:36 +0100)
committerTomas Mraz <tomas@openssl.org>
Mon, 31 Mar 2025 11:58:47 +0000 (13:58 +0200)
commit03e977e29ee55e9bb717eefb3804963c1f7b8d73
tree253c54b326cf6e9c6481822bf66c803e462190e4
parentd25b98e4696942d69e08e4421ae6a4297c6ae398
crypto: windows: use LPCTSTR for the temp registry buffer

mingw-w64 only defines LPCTCH when UNICODE isn't defined
crypto/defaults.c: In function 'get_windows_regdirs':
crypto/defaults.c:72:5: error: unknown type name 'LPCTCH'; did you mean 'LPTCH'?
   72 |     LPCTCH tempstr = NULL;
      |     ^~~~~~
      |     LPTCH

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26566)

(cherry picked from commit 0e38f78dca2ececcce4d0179b7d111452e7878ea)
crypto/defaults.c