]> git.ipfire.org Git - thirdparty/openssl.git/commit
Update check_sig_alg_match() to work with provided keys
authorMatt Caswell <matt@openssl.org>
Tue, 25 May 2021 13:39:29 +0000 (14:39 +0100)
committerShane Lontis <shane.lontis@oracle.com>
Sun, 30 May 2021 23:16:47 +0000 (09:16 +1000)
commit0a4e660a273d6d33cfc1608ed48d6e560ae970ed
tree6c27bc6d5c2f9c58045660141cbb91c5fdbf756d
parent3811e0019aa8340b413e65fcf81d4b726f437c93
Update check_sig_alg_match() to work with provided keys

Use EVP_PKEY_is_a() to check whether an EVP_PKEY is compatible with the
given signature.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/15528)
crypto/x509/v3_purp.c