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 /crypto/init.c | |
parent | 286053fc8f78e34828a576830ef879c021640aee (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)
Diffstat (limited to 'crypto/init.c')
-rw-r--r-- | crypto/init.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/crypto/init.c b/crypto/init.c index cca93df1a8..5c5985fc42 100644 --- a/crypto/init.c +++ b/crypto/init.c @@ -442,9 +442,6 @@ void OPENSSL_cleanup(void) OSSL_TRACE(INIT, "OPENSSL_cleanup: ossl_trace_cleanup()\n"); ossl_trace_cleanup(); - OSSL_TRACE(INIT, "OPENSSL_cleanup: ossl_deinit_casecmp()\n"); - ossl_deinit_casecmp(); - base_inited = 0; } @@ -484,9 +481,6 @@ int OPENSSL_init_crypto(uint64_t opts, const OPENSSL_INIT_SETTINGS *settings) aloaddone = 1; } - if (!ossl_init_casecmp()) - return 0; - /* * At some point we should look at this function with a view to moving * most/all of this into OSSL_LIB_CTX. |