Merge pull request #3011 from Patater/dev/jp-bennett/development-2.7
Backport 2.7: Allow loading symlinked certificates
This commit is contained in:
commit
130e136439
2 changed files with 7 additions and 1 deletions
|
@ -1,5 +1,11 @@
|
|||
mbed TLS ChangeLog (Sorted per branch, date)
|
||||
|
||||
= mbed TLS 2.7.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.7.13 branch released 2020-01-15
|
||||
|
||||
Security
|
||||
|
|
|
@ -1207,7 +1207,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…
Add table
Add a link
Reference in a new issue