diff options
author | Shane Lontis <shane.lontis@oracle.com> | 2021-04-12 01:06:24 +0200 |
---|---|---|
committer | Shane Lontis <shane.lontis@oracle.com> | 2021-04-14 08:01:13 +0200 |
commit | 46eee7104d77f9d303e06a398febdc60fd014d33 (patch) | |
tree | d826be79497504683f836f4c6a9d7c0b6a91f3d0 /crypto/x509 | |
parent | Remove a TODO(3.0) from X509_PUBKEY_set (diff) | |
download | openssl-46eee7104d77f9d303e06a398febdc60fd014d33.tar.xz openssl-46eee7104d77f9d303e06a398febdc60fd014d33.zip |
Add domain parameter match check for DH and ECDH key exchange.
Fixes #14808
Validation checks were moved into EVP_PKEY_derive_set_peer() which broke
an external negative test. Originally the old code was semi working by checking the peers public key was in the range of other parties p. It was not actually ever
checking that the domain parameters were consistent between the 2
parties. It now checks the parameters match as well as validating the
peers public key.
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14823)
Diffstat (limited to 'crypto/x509')
0 files changed, 0 insertions, 0 deletions