mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-02-02 05:11:04 +00:00
Revert "Merge pull request #3008 from jp-bennett/development"
This reverts commitc0c92fea3d
, reversing changes made tobfc73bcfd2
. stat() will never return S_IFLNK as the file type, as stat() explicitly follows symlinks. Fixes #3005.
This commit is contained in:
parent
2fdb1af18c
commit
85de7a6018
|
@ -8,8 +8,6 @@ New deprecations
|
|||
* Deprecate MBEDTLS_SSL_PROTO_SSL3 that enables support for SSLv3.
|
||||
|
||||
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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue