diff options
author | Matt Caswell <matt@openssl.org> | 2018-07-17 16:31:07 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2018-07-18 09:58:56 +0100 |
commit | 11d2641f96ead76deb5b8fac638a3ad36a971a66 (patch) | |
tree | 7268fce6dcd0dd6f6993d746cc46045323a301e3 /util | |
parent | 1a50eedf2a1fbb1e0e009ad616d8be678e4c6340 (diff) |
Check that the public key OID matches the sig alg
Using the rsa_pss_rsae_sha256 sig alg should imply that the key OID is
rsaEncryption. Similarly rsa_pss_pss_sha256 implies the key OID is
rsassaPss. However we did not check this and incorrectly tolerated a key
OID that did not match the sig alg sent by the peer.
Fixes #6611
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6732)
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions