Avoid non-standard strcasecmp()

This commit is contained in:
Manuel Pégourié-Gonnard 2015-05-28 17:06:07 +02:00
parent 2a84dfd747
commit cb46fd8216
10 changed files with 317 additions and 346 deletions

View file

@ -32,11 +32,6 @@
#include <string.h>
#if defined(_MSC_VER) && !defined strcasecmp && !defined(EFIX64) && \
!defined(EFI32)
#define strcasecmp _stricmp
#endif
static const char *features[] = {
#if defined(MBEDTLS_VERSION_FEATURES)
FEATURE_DEFINES
@ -56,7 +51,7 @@ int mbedtls_version_check_feature( const char *feature )
while( *idx != NULL )
{
if( !strcasecmp( *idx, feature ) )
if( !strcmp( *idx, feature ) )
return( 0 );
idx++;
}