]> 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:40 +0000 (18:13 +0100)
commitcac57b2aeeac86d3e4bd55bfbea55ac0e0d30138
tree7317ad810b5e9192bbf5c3f1ae922e93c7232560
parent4681c73bb3cd1c039609f4b263491478f4c6e842
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