summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-04-17 13:48:53 +0200
committerRichard Levitte <levitte@openssl.org>2016-04-17 23:22:45 +0200
commitd32f5d8733df9938727710d4194e92813c421ef1 (patch)
tree4271aaa2030aa26f00cf23059c4ab66ecca48d4f /include
parent4e727a8d876086096b4922c965493f24fdf23e24 (diff)
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>
Diffstat (limited to 'include')
-rw-r--r--include/openssl/ocsp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openssl/ocsp.h b/include/openssl/ocsp.h
index 02fd6b06be..546e9bcb56 100644
--- a/include/openssl/ocsp.h
+++ b/include/openssl/ocsp.h
@@ -432,6 +432,7 @@ void ERR_load_OCSP_strings(void);
# define OCSP_R_NO_PUBLIC_KEY 107
# define OCSP_R_NO_RESPONSE_DATA 108
# define OCSP_R_NO_REVOKED_TIME 109
+# define OCSP_R_NO_SIGNER_KEY 130
# define OCSP_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE 110
# define OCSP_R_REQUEST_NOT_SIGNED 128
# define OCSP_R_RESPONSE_CONTAINS_NO_REVOCATION_DATA 111