mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-25 18:05:42 +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
@ -1,5 +1,11 @@
|
||||
mbed TLS ChangeLog (Sorted per branch, date)
|
||||
|
||||
= mbed TLS 2.16.X branch released XXXX-XX-XX
|
||||
|
||||
Bugfix
|
||||
* Allow loading symlinked certificates. Fixes #3005. Reported and fixed
|
||||
by Jonathan Bennett <JBennett@incomsystems.biz> via #3008.
|
||||
|
||||
= mbed TLS 2.16.5 branch released xxxx-xx-xx
|
||||
|
||||
Security
|
||||
|
@ -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…
Reference in New Issue
Block a user