diff options
author | Pauli <pauli@openssl.org> | 2022-05-19 12:51:07 +1000 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2022-05-23 09:54:29 +1000 |
commit | d971d89786149d47efbf4d58f48eb94e65aaa07f (patch) | |
tree | ddabf48bafcacdf26ade279b7b3233b26a4fe004 /providers | |
parent | 27e8f212d8383e78e698d7049c210b13a0cc8889 (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')
-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 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++) { |