commit | d65791e26c12b57723f2feb7eacdbbd99601371b | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Jan 19 10:50:13 2023 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jan 19 10:57:00 2023 +0100 |
tree | f7514eb9278bc4fe57f154a82691f9b9058c8f96 | |
parent | 5a8f02ae6686c72e30bff7e5dbece67a5d438551 [diff] |
BUILD: ssl: add ECDSA_SIG_set0() for openssl < 1.1 or libressl < 2.7 Commit 5a8f02ae6 ("BUG/MEDIUM: jwt: Properly process ecdsa signatures (concatenated R and S params)") makes use of ECDSA_SIG_set0() which only appeared in openssl-1.1.0 and libressl 2.7, and breaks the build before. Let's just do what it minimally does (only assigns the two fields to the destination). This will need to be backported where the commit above is, likely 2.5.