summaryrefslogtreecommitdiffstats
path: root/providers/fips
diff options
context:
space:
mode:
authorPauli <pauli@openssl.org>2022-05-19 12:51:07 +1000
committerPauli <pauli@openssl.org>2022-05-23 09:54:29 +1000
commitd971d89786149d47efbf4d58f48eb94e65aaa07f (patch)
treeddabf48bafcacdf26ade279b7b3233b26a4fe004 /providers/fips
parent27e8f212d8383e78e698d7049c210b13a0cc8889 (diff)
strcasecmp: implement strcasecmp and strncasecmp
Rather than relying on the locale code working, instead implement these functions directly. Fixes #18322 Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> (Merged from https://github.com/openssl/openssl/pull/18344) (cherry picked from commit fb4cdca053fb9d3f0e11eeaf31f4b4ff87f69a95)
Diffstat (limited to 'providers/fips')
-rw-r--r--providers/fips/fipsprov.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/providers/fips/fipsprov.c b/providers/fips/fipsprov.c
index 1771eabf8a..6a88039423 100644
--- a/providers/fips/fipsprov.c
+++ b/providers/fips/fipsprov.c
@@ -491,7 +491,6 @@ static void fips_teardown(void *provctx)
{
OSSL_LIB_CTX_free(PROV_LIBCTX_OF(provctx));
ossl_prov_ctx_free(provctx);
- ossl_deinit_casecmp();
}
static void fips_intern_teardown(void *provctx)
@@ -549,8 +548,6 @@ int OSSL_provider_init_int(const OSSL_CORE_HANDLE *handle,
memset(&selftest_params, 0, sizeof(selftest_params));
- if (!ossl_init_casecmp_int())
- return 0;
if (!ossl_prov_seeding_from_dispatch(in))
goto err;
for (; in->function_id != 0; in++) {