Quit using readdir_r()

Prone to buffer overflows on some platforms.
This commit is contained in:
Manuel Pégourié-Gonnard 2013-11-26 16:47:11 +01:00
parent fbae2a1f53
commit 964bf9b92f
2 changed files with 5 additions and 27 deletions

View file

@ -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
*