1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +03:00

Merge pull request #3008 from jp-bennett/development

Allow loading symlinked certificates
This commit is contained in:
Jaeden Amero
2020-01-28 15:55:33 +00:00
committed by GitHub
2 changed files with 7 additions and 1 deletions

View File

@ -1613,7 +1613,7 @@ cleanup:
goto cleanup;
}
if( !S_ISREG( sb.st_mode ) )
if( !( S_ISREG( sb.st_mode ) || S_ISLNK( sb.st_mode ) ) )
continue;
// Ignore parse errors