mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 22:24:16 +01:00
Typo in Windows error code in x509_crt.c
This commit is contained in:
parent
c27c4e2efb
commit
3cf63edc44
@ -946,7 +946,7 @@ int x509_crt_parse_path( x509_crt *chain, const char *path )
|
|||||||
HANDLE hFind;
|
HANDLE hFind;
|
||||||
|
|
||||||
if( len > MAX_PATH - 3 )
|
if( len > MAX_PATH - 3 )
|
||||||
return( POLARSSL_ERR_X509_INVALID_INPUT );
|
return( POLARSSL_ERR_X509_BAD_INPUT_DATA );
|
||||||
|
|
||||||
memset( szDir, 0, sizeof(szDir) );
|
memset( szDir, 0, sizeof(szDir) );
|
||||||
memset( filename, 0, MAX_PATH );
|
memset( filename, 0, MAX_PATH );
|
||||||
|
Loading…
Reference in New Issue
Block a user