Avoid non-standard strcasecmp()
This commit is contained in:
parent
2a84dfd747
commit
cb46fd8216
10 changed files with 317 additions and 346 deletions
|
@ -36,11 +36,6 @@
|
|||
// #include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#if defined(_MSC_VER) && !defined strcasecmp && !defined(EFIX64) && \
|
||||
!defined(EFI32)
|
||||
#define strcasecmp _stricmp
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Ordered from most preferred to least preferred in terms of security.
|
||||
*
|
||||
|
@ -1733,7 +1728,7 @@ const mbedtls_ssl_ciphersuite_t *mbedtls_ssl_ciphersuite_from_string(
|
|||
|
||||
while( cur->id != 0 )
|
||||
{
|
||||
if( 0 == strcasecmp( cur->name, ciphersuite_name ) )
|
||||
if( 0 == strcmp( cur->name, ciphersuite_name ) )
|
||||
return( cur );
|
||||
|
||||
cur++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue