diff --git a/ChangeLog b/ChangeLog index 51478d5dbb..07880b2e36 100644 --- a/ChangeLog +++ b/ChangeLog @@ -11,8 +11,6 @@ New deprecations PKCS#11 token such as a smartcard. 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. * Fix build failure with MBEDTLS_ZLIB_SUPPORT enabled. Reported by Jack Lloyd in #2859. Fix submitted by jiblime in #2963. diff --git a/library/x509_crt.c b/library/x509_crt.c index ca60011f7c..38e69cc550 100644 --- a/library/x509_crt.c +++ b/library/x509_crt.c @@ -1613,7 +1613,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