Check for availability of ciphersuites at run time
authorMatt Caswell <matt@openssl.org>
Fri, 15 Jan 2021 15:43:28 +0000 (15:43 +0000)
committerMatt Caswell <matt@openssl.org>
Fri, 5 Feb 2021 15:22:42 +0000 (15:22 +0000)
commit05b4b85d4bb9f54fa7ed5e964595308f1f87d5b8
treef4caaeb9fb37931f770f519b35c718a2c662aee9
parenta763ca11777ce01a286751f3f3dd9b106ef74f30
Check for availability of ciphersuites at run time

In 1.1.1 and below we would check for the availability of certain
algorithms based on compile time guards. However with 3.0 this is no
longer sufficient. Some algorithms that are unavailable at compile time
may become available later if 3rd party providers are loaded. Similarly,
algorithms that exist in our built-in providers at compile time may not
be available at run time if those providers are not loaded.

Fixes #13184

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