ocsp: corrected the comparison of the serial size in OCSP response

Previously the OCSP certificate check wouldn't verify the serial length
and could succeed in cases it shouldn't.

Reported by Stefan Buehler.
parent 9bb4ca9e
Pipeline #4064129 passed with stage
in 220 minutes 8 seconds