Restore OCSP_basic_verify() error return semantics
authorRichard Levitte <levitte@openssl.org>
Sun, 17 Apr 2016 11:48:53 +0000 (13:48 +0200)
committerRichard Levitte <levitte@openssl.org>
Sun, 17 Apr 2016 21:22:45 +0000 (23:22 +0200)
commitd32f5d8733df9938727710d4194e92813c421ef1
tree4271aaa2030aa26f00cf23059c4ab66ecca48d4f
parent4e727a8d876086096b4922c965493f24fdf23e24
Restore OCSP_basic_verify() error return semantics

Recently, OCSP_basic_verify() was changed to always return 0 on error,
when it would previously return 0 on error and < 0 on fatal error.
This restores the previous semantics back.

Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/ocsp/ocsp_err.c
crypto/ocsp/ocsp_vfy.c
include/openssl/ocsp.h