diff --git a/ChangeLog b/ChangeLog index a8f9a79b2..f6d31246d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -16,8 +16,6 @@ Security ARMmbed/mbed-crypto#352 Bugfix - * Allow loading symlinked certificates. Fixes #3005. Reported and fixed - by Jonathan Bennett via #3008. * Fix an unchecked call to mbedtls_md() in the x509write module. = mbed TLS 2.16.4 branch released 2020-01-15 diff --git a/library/x509_crt.c b/library/x509_crt.c index a4202be37..9c2e36547 100644 --- a/library/x509_crt.c +++ b/library/x509_crt.c @@ -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