mirror of
https://github.com/openbsd/src.git
synced 2026-04-15 01:34:03 +00:00
c74741bda962d2fb3e5e48a3c31dd8983d95d03b
Instead of reaching deep inside the OCSP_BASICRESP and ignoring its semantics and then try to untangle things in ocsp_find_signer_sk(), pass the OCSP_BASICRESP and use OCSP_resp_get0_id() which has the logic built in. Avoids a crash if you call OCSP_basic_verify() after OCSP_BASICRESP_new() without OCSP_basic_sign(). This cannot happen on a deserialized OCSP object. Prompted by a report by Kamil Frankowicz, Jan Kaminski, Bartosz Michalowski. ok jsing
…
…
…
…
…
…
Description
Languages
C
57.4%
C++
28.7%
Perl
3.9%
Roff
3%
Makefile
0.9%
Other
5.6%