[openssl/openssl] 27e8f2: tolower: refine the tolower code to avoid a memory...
pauli
noreply at reply.github.openssl.org
Sun May 22 23:54:53 UTC 2022
Branch: refs/heads/openssl-3.0
Home: https://github.openssl.org/openssl/openssl
Commit: 27e8f212d8383e78e698d7049c210b13a0cc8889
https://github.openssl.org/openssl/openssl/commit/27e8f212d8383e78e698d7049c210b13a0cc8889
Author: Pauli <pauli at openssl.org>
Date: 2022-05-23 (Mon, 23 May 2022)
Changed paths:
M crypto/ctype.c
M include/crypto/ctype.h
Log Message:
-----------
tolower: refine the tolower code to avoid a memory access
This improves the performance of this function and the ones that rely on it
(ossl_lh_strcasehash primarily).
Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Tim Hudson <tjh at openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
(Merged from https://github.com/openssl/openssl/pull/18344)
(cherry picked from commit 286053fc8f78e34828a576830ef879c021640aee)
Commit: d971d89786149d47efbf4d58f48eb94e65aaa07f
https://github.openssl.org/openssl/openssl/commit/d971d89786149d47efbf4d58f48eb94e65aaa07f
Author: Pauli <pauli at openssl.org>
Date: 2022-05-23 (Mon, 23 May 2022)
Changed paths:
M crypto/init.c
M crypto/o_str.c
M include/internal/cryptlib.h
M providers/fips/fipsprov.c
Log Message:
-----------
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 at openssl.org>
Reviewed-by: Tim Hudson <tjh at openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
(Merged from https://github.com/openssl/openssl/pull/18344)
(cherry picked from commit fb4cdca053fb9d3f0e11eeaf31f4b4ff87f69a95)
Compare: https://github.openssl.org/openssl/openssl/compare/ff3e71b33c3f...d971d8978614
More information about the openssl-commits
mailing list