Merge pull request #3033 from yanesca/revert_pr_3008
Revert "Merge pull request #3008 from jp-bennett/development"
diff --git a/ChangeLog b/ChangeLog
index 51478d5..07880b2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -11,8 +11,6 @@
PKCS#11 token such as a smartcard.
Bugfix
- * Allow loading symlinked certificates. Fixes #3005. Reported and fixed
- by Jonathan Bennett <JBennett@incomsystems.biz> 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 ca60011..38e69cc 100644
--- a/library/x509_crt.c
+++ b/library/x509_crt.c
@@ -1613,7 +1613,7 @@
goto cleanup;
}
- if( !( S_ISREG( sb.st_mode ) || S_ISLNK( sb.st_mode ) ) )
+ if( !S_ISREG( sb.st_mode ) )
continue;
// Ignore parse errors