Allow ignoring unknown sigalgs and groups in the configuration
authorTomas Mraz <tomas@openssl.org>
Thu, 14 Dec 2023 16:08:56 +0000 (17:08 +0100)
committerDmitry Belyavskiy <beldmit@gmail.com>
Wed, 6 Mar 2024 09:42:05 +0000 (10:42 +0100)
commit10f65f7282d07c308cba5e26488bc504f56abc8a
tree32e26a8cb16dbf03e66fd16695e9bb8ad959bb45
parentd6d9277b2e61a99aaa01a6c1f89ceb10a1422249
Allow ignoring unknown sigalgs and groups in the configuration

Related to #20789

Signature algorithms and groups in the configuration that are
preceded with ? character and are unknown to libssl are just ignored.
The handling for them is similar to handling of ciphers.
I.e., there should be a failure only in case the configuration produces
no valid sigalgs or groups.

Also ignore duplicate sigalgs and groups as such confiuration errors
should not be fatal.

Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/23050)
ssl/t1_lib.c