From fb4cdca053fb9d3f0e11eeaf31f4b4ff87f69a95 Mon Sep 17 00:00:00 2001 From: Pauli Date: Thu, 19 May 2022 12:51:07 +1000 Subject: strcasecmp: implement strcasecmp and strncasecmp Rather than relying on the locale code working, instead implement these functions directly. Fixes #18322 Reviewed-by: Tomas Mraz Reviewed-by: Tim Hudson Reviewed-by: Dmitry Belyavskiy (Merged from https://github.com/openssl/openssl/pull/18344) --- providers/fips/fipsprov.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'providers/fips/fipsprov.c') diff --git a/providers/fips/fipsprov.c b/providers/fips/fipsprov.c index 66916659a4..6020474a21 100644 --- a/providers/fips/fipsprov.c +++ b/providers/fips/fipsprov.c @@ -483,7 +483,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) @@ -541,8 +540,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++) { -- cgit v1.2.1