diff options
Diffstat (limited to 'apps/lib/names.c')
-rw-r--r-- | apps/lib/names.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/lib/names.c b/apps/lib/names.c index 5e2e7e147c..462703c646 100644 --- a/apps/lib/names.c +++ b/apps/lib/names.c @@ -11,14 +11,11 @@ #include <openssl/bio.h> #include <openssl/safestack.h> #include "names.h" - -#ifdef _WIN32 -# define strcasecmp _stricmp -#endif +#include "openssl/crypto.h" int name_cmp(const char * const *a, const char * const *b) { - return strcasecmp(*a, *b); + return OPENSSL_strcasecmp(*a, *b); } void collect_names(const char *name, void *vdata) |