Merge pull request #3008 from jp-bennett/development

Allow loading symlinked certificates
This commit is contained in:
Jaeden Amero 2020-01-28 15:55:33 +00:00 committed by GitHub
commit c0c92fea3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,11 @@
mbed TLS ChangeLog (Sorted per branch, date)
= mbed TLS X.X.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.20.0 branch released 2020-01-15
Default behavior changes

View File

@ -1613,7 +1613,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