mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
Quit using readdir_r()
Prone to buffer overflows on some platforms.
This commit is contained in:
parent
fbae2a1f53
commit
964bf9b92f
2 changed files with 5 additions and 27 deletions
|
|
@ -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
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue