]> git.ipfire.org Git - thirdparty/openssl.git/commit
dh_cms_set_peerkey(): Fix the incorrect condition
authorShakti Shah <shaktishah33@gmail.com>
Mon, 25 Nov 2024 15:16:45 +0000 (20:46 +0530)
committerTomas Mraz <tomas@openssl.org>
Wed, 11 Dec 2024 17:13:34 +0000 (18:13 +0100)
commit0c9e82007565220bce11bc1aeafd4b49857e7b3f
tree71a7dfd644b977104746724f425dcefb17713575
parent7b07bc4c99466b871de7c35312ada18fd5ec4af2
dh_cms_set_peerkey(): Fix the incorrect condition

Only absent parameters allowed in RFC 3370.

Fixes #25824

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26058)

(cherry picked from commit 02e72ccffacf2d01295810798ca1c86a438ee712)
crypto/cms/cms_dh.c