diff options
author | Pauli <paul.dale@oracle.com> | 2020-08-15 10:35:59 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-08-19 13:15:27 +1000 |
commit | c51a8af8cca755ceefba64b3cbd0bdb91c74d77c (patch) | |
tree | ebf7c951c64cd722641fea0c13e2f309a7e76433 /include | |
parent | c9dcbc0759be1e733273cc0b5602bdbbd3542b27 (diff) |
OCSP: Add return value checks.
The calls are unlikely to fail but better checking their return than not.
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/12648)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/ocsperr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/openssl/ocsperr.h b/include/openssl/ocsperr.h index f9ad3be022..eea82b8a56 100644 --- a/include/openssl/ocsperr.h +++ b/include/openssl/ocsperr.h @@ -50,6 +50,8 @@ int ERR_load_OCSP_strings(void); */ # define OCSP_R_CERTIFICATE_VERIFY_ERROR 101 # define OCSP_R_DIGEST_ERR 102 +# define OCSP_R_DIGEST_NAME_ERR 106 +# define OCSP_R_DIGEST_SIZE_ERR 107 # define OCSP_R_ERROR_IN_NEXTUPDATE_FIELD 122 # define OCSP_R_ERROR_IN_THISUPDATE_FIELD 123 # define OCSP_R_MISSING_OCSPSIGNING_USAGE 103 |