replace strstr() with strchr() for single characters
authorrilysh <nightquick@proton.me>
Sun, 21 Jan 2024 06:48:09 +0000 (12:18 +0530)
committerTomas Mraz <tomas@openssl.org>
Thu, 25 Jan 2024 15:39:09 +0000 (16:39 +0100)
commit0f644b96d209443b4566f7e86e3be2568292e75b
tree6f09a8f3a719e42ae35af6abe3092e18f3aca591
parentea6268cfceaba24328d66bd14bfc97c4fac14a58
replace strstr() with strchr() for single characters

strstr() is used to match multiple characters in the haystack,
whereas strchr() is used to matched only single character.

CLA: trivial

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23347)
apps/engine.c
crypto/dso/dso_dl.c
crypto/dso/dso_dlfcn.c
ssl/ssl_conf.c