mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 10:55:38 +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
@ -16,8 +16,6 @@ Security
|
||||
ARMmbed/mbed-crypto#352
|
||||
|
||||
Bugfix
|
||||
* Allow loading symlinked certificates. Fixes #3005. Reported and fixed
|
||||
by Jonathan Bennett <JBennett@incomsystems.biz> via #3008.
|
||||
* Fix an unchecked call to mbedtls_md() in the x509write module.
|
||||
|
||||
= mbed TLS 2.16.4 branch released 2020-01-15
|
||||
|
@ -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…
Reference in New Issue
Block a user