Revert "Merge pull request #3011 from Patater/dev/jp-bennett/development-2.7"
This reverts commit130e136439
, reversing changes made to071b3e170e
. stat() will never return S_IFLNK as the file type, as stat() explicitly follows symlinks. Fixes #3005.
This commit is contained in:
parent
5d1171268c
commit
b40d60f096
2 changed files with 1 additions and 3 deletions
|
@ -10,8 +10,6 @@ Security
|
||||||
ARMmbed/mbed-crypto#352
|
ARMmbed/mbed-crypto#352
|
||||||
|
|
||||||
Bugfix
|
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.
|
* Fix an unchecked call to mbedtls_md() in the x509write module.
|
||||||
|
|
||||||
= mbed TLS 2.7.13 branch released 2020-01-15
|
= mbed TLS 2.7.13 branch released 2020-01-15
|
||||||
|
|
|
@ -1207,7 +1207,7 @@ cleanup:
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( !( S_ISREG( sb.st_mode ) || S_ISLNK( sb.st_mode ) ) )
|
if( !S_ISREG( sb.st_mode ) )
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// Ignore parse errors
|
// Ignore parse errors
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue