mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Revert "Merge pull request #3008 from jp-bennett/development"
This reverts commitc0c92fea3d
, reversing changes made tobfc73bcfd2
. stat() will never return S_IFLNK as the file type, as stat() explicitly follows symlinks. Fixes #3005.
This commit is contained in:
@ -1613,7 +1613,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
|
||||
|
Reference in New Issue
Block a user