Make sure we don't use sigalgs that are not available
authorMatt Caswell <matt@openssl.org>
Wed, 20 Jan 2021 15:09:24 +0000 (15:09 +0000)
committerMatt Caswell <matt@openssl.org>
Fri, 5 Feb 2021 15:22:42 +0000 (15:22 +0000)
commit54e3efff81f41f71fe17303d5ec6db49415e5d6d
treefa08f606cee631ace92445a713db9545507fc54a
parent306b8e7e19f6c5019a9fc4050c5de6ebe7135c1f
Make sure we don't use sigalgs that are not available

We may have compiled in sigalg values that we can't support at runtime.
Make sure we only use sigalgs that are actually enabled.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13916)
ssl/t1_lib.c