diff options
author | Pauli <pauli@openssl.org> | 2022-05-19 12:51:07 +1000 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2022-05-23 09:51:28 +1000 |
commit | fb4cdca053fb9d3f0e11eeaf31f4b4ff87f69a95 (patch) | |
tree | 696cf14304289e50036166c57647bb1963b7bc00 /providers/fips/fipsprov.c | |
parent | 286053fc8f78e34828a576830ef879c021640aee (diff) | |
download | openssl-new-fb4cdca053fb9d3f0e11eeaf31f4b4ff87f69a95.tar.gz |
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)
Diffstat (limited to 'providers/fips/fipsprov.c')
-rw-r--r-- | providers/fips/fipsprov.c | 3 |
1 files changed, 0 insertions, 3 deletions
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++) { |