mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-09 15:45:37 +00:00
Fixed x509_crt_parse_path() bug on Windows platforms
This commit is contained in:
parent
238be3a207
commit
40cc914567
|
@ -8,6 +8,7 @@ Bugfix
|
|||
* Fixed X.509 hostname comparison (with non-regular characters)
|
||||
* SSL now gracefully handles missing RNG
|
||||
* crypt_and_hash app checks MAC before final decryption
|
||||
* Fixed x509_crt_parse_path() bug on Windows platforms
|
||||
|
||||
= Version 1.2.10 released 2013-10-07
|
||||
Changes
|
||||
|
|
|
@ -1915,7 +1915,7 @@ int x509parse_crtpath( x509_cert *chain, const char *path )
|
|||
p = filename + len;
|
||||
filename[len++] = '*';
|
||||
|
||||
w_ret = MultiByteToWideChar( CP_ACP, 0, path, len, szDir, MAX_PATH - 3 );
|
||||
w_ret = MultiByteToWideChar( CP_ACP, 0, filename, len, szDir, MAX_PATH - 3 );
|
||||
|
||||
hFind = FindFirstFileW( szDir, &file_data );
|
||||
if (hFind == INVALID_HANDLE_VALUE)
|
||||
|
|
Loading…
Reference in a new issue