/*
* Check hash is available.
* This test is not perfect. A provider could have support
* for a signature scheme, but not a particular hash. However the hash
* could be available from some other loaded provider. In that case it
* could be that the signature is available, and the hash is available
* independently - but not as a combination. We ignore this for now.
*/
We should be able probe up front whether a given signature and hash algorithm will work together. This is not currently easily possible to set up.
As noted in the comment in libssl (ssl/t1_lib.c):
We should be able probe up front whether a given signature and hash algorithm will work together. This is not currently easily possible to set up.