mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-02-19 00:39:46 +00:00
Quit using readdir_r()
Prone to buffer overflows on some platforms.
This commit is contained in:
@@ -93,17 +93,6 @@
|
||||
*/
|
||||
//#define POLARSSL_HAVE_SSE2
|
||||
|
||||
/**
|
||||
* \def POLARSSL_HAVE_READDIR_R
|
||||
*
|
||||
* (Non Windows) System has readdir_r().
|
||||
*
|
||||
* Required for x509_crt_parse_path() in non-Windows systems.
|
||||
*
|
||||
* Comment if your system does not have support.
|
||||
*/
|
||||
#define POLARSSL_HAVE_READDIR_R
|
||||
|
||||
/**
|
||||
* \def POLARSSL_HAVE_TIME
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user