summaryrefslogtreecommitdiffstats
path: root/crypto/LPdir_unix.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-21 17:12:32 +0200
commit2c31d942af28a20e87979cbc76c3dd8d162c1a9c (patch)
treea7927f89d19ef4c9604eb80fbefc4fa1ac2d4734 /crypto/LPdir_unix.c
parenta8e4ddc6d15b6e6b308428753bc22b12422adacf (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/18103)
Diffstat (limited to 'crypto/LPdir_unix.c')
-rw-r--r--crypto/LPdir_unix.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/LPdir_unix.c b/crypto/LPdir_unix.c
index ddf68b576f..fe9fc0dd43 100644
--- a/crypto/LPdir_unix.c
+++ b/crypto/LPdir_unix.c
@@ -141,7 +141,8 @@ const char *LP_find_file(LP_DIR_CTX **ctx, const char *directory)
p--;
if (p > (*ctx)->entry_name && p[-1] == ';')
p[-1] = '\0';
- if (strcasecmp((*ctx)->entry_name, (*ctx)->previous_entry_name) == 0)
+ if (OPENSSL_strcasecmp((*ctx)->entry_name,
+ (*ctx)->previous_entry_name) == 0)
goto again;
}
#endif