diff options
author | Michael Kaufmann <mail@michael-kaufmann.ch> | 2017-06-06 22:15:17 +0200 |
---|---|---|
committer | Michael Kaufmann <mail@michael-kaufmann.ch> | 2017-06-11 17:32:02 +0200 |
commit | e8fecf2614b479d2448c61159b4a7dadf4cf7df9 (patch) | |
tree | a7c995c629c953a151903f6f3b25ea50c4403b04 /projects/build-wolfssl.bat | |
parent | 916ec30a92a6a497a89172533830f1593591e875 (diff) |
FindWin32CACert: Use a temporary buffer on the stack
Don't malloc() the temporary buffer, and use the correct type:
SearchPath() works with TCHAR, but SearchPathA() works with char.
Set the buffer size to MAX_PATH, because the terminating null byte
is already included in MAX_PATH.
Reviewed-by: Daniel Stenberg
Reviewed-by: Marcel Raad
Closes #1548
Diffstat (limited to 'projects/build-wolfssl.bat')
0 files changed, 0 insertions, 0 deletions