mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01:00
Revert "Merge pull request #3012 from Patater/dev/jp-bennett/development-2.16"
This reverts commit7550e857bf, reversing changes made tod0c2575324. stat() will never return S_IFLNK as the file type, as stat() explicitly follows symlinks. Fixes #3005.
This commit is contained in:
parent
82ebf511e9
commit
cabf0eed66
2 changed files with 1 additions and 3 deletions
|
|
@ -1366,7 +1366,7 @@ cleanup:
|
|||
goto cleanup;
|
||||
}
|
||||
|
||||
if( !( S_ISREG( sb.st_mode ) || S_ISLNK( sb.st_mode ) ) )
|
||||
if( !S_ISREG( sb.st_mode ) )
|
||||
continue;
|
||||
|
||||
// Ignore parse errors
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue