Home GnuPG

ocsp: Fix detecting the right response item

Description

ocsp: Fix detecting the right response item

* src/ocsp.c (ksba_ocsp_prepare_request): Store the value of the
integer.

The long standing bug was that we compared the DER encoding of the
serial number against the value of the serial number. Might have never
worked correctly.

Details

Provenance
wernerAuthored on Feb 26 2022, 5:00 PM
Parents
rK51b565054096: build: Update for newer autoconf.
Branches
Unknown
Tags
Unknown