mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01:00
Merge pull request #3012 from Patater/dev/jp-bennett/development-2.16
Backport 2.16: Allow loading symlinked certificates
This commit is contained in:
commit
7550e857bf
2 changed files with 7 additions and 1 deletions
|
|
@ -1366,7 +1366,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue