diff --git a/library/x509_crt.c b/library/x509_crt.c index af8f1d67f..b09a5be54 100644 --- a/library/x509_crt.c +++ b/library/x509_crt.c @@ -2023,7 +2023,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