Fixed error handling for OCSP verification.