]> 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:06 +0000 (13:58 +0200)
commit0e38f78dca2ececcce4d0179b7d111452e7878ea
treed35806b38293b4c83786a19adf3467259ba432da
parented3876adb1f0beb5fac8d564337ab949f227c563
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)
crypto/defaults.c