summaryrefslogtreecommitdiffstats
path: root/test/bntest.c
diff options
context:
space:
mode:
authorDmitry Belyavskiy <beldmit@gmail.com>2022-04-12 12:30:08 +0200
committerDmitry Belyavskiy <beldmit@gmail.com>2022-04-22 11:34:41 +0200
commitfba140c73541c03e22b4fdb219a05d129bf0406d (patch)
treeb5c692f73ff063c2f071ef2383979fb8aa572164 /test/bntest.c
parent4b2bd2722b8294a6b27c9e1fcf7d76f7d9de9b44 (diff)
str[n]casecmp => OPENSSL_strncasecmp
Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18069)
Diffstat (limited to 'test/bntest.c')
-rw-r--r--test/bntest.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/bntest.c b/test/bntest.c
index 62ca2838c7..73a7dbae6e 100644
--- a/test/bntest.c
+++ b/test/bntest.c
@@ -23,10 +23,6 @@
#include "internal/numbers.h"
#include "testutil.h"
-#ifdef OPENSSL_SYS_WINDOWS
-# define strcasecmp _stricmp
-#endif
-
/*
* Things in boring, not in openssl.
*/
@@ -64,7 +60,7 @@ static const char *findattr(STANZA *s, const char *key)
PAIR *pp = s->pairs;
for ( ; --i >= 0; pp++)
- if (strcasecmp(pp->key, key) == 0)
+ if (OPENSSL_strcasecmp(pp->key, key) == 0)
return pp->value;
return NULL;
}