summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2019-03-27 11:16:44 +0000
committerMatt Caswell <matt@openssl.org>2019-03-28 10:00:11 +0000
commitedfd50d8db3ae20c1cba1667f861a25cbe6c31f2 (patch)
tree86764999055ad2693db46631acc1ef82c5a4744b /include
parentaf6ce3b46cd0fba2235c9ec488973c90c56d92a1 (diff)
Make OCSP_id_cmp and OCSP_id_issuer_cmp accept const params
Fixes #8589 Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/8597) (cherry picked from commit cc6d92619fc3678817b2e09894683b40860563a7)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/ocsp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/openssl/ocsp.h b/include/openssl/ocsp.h
index 0a17166b5b..19b9b6e5b7 100644
--- a/include/openssl/ocsp.h
+++ b/include/openssl/ocsp.h
@@ -229,8 +229,8 @@ int OCSP_request_verify(OCSP_REQUEST *req, STACK_OF(X509) *certs,
int OCSP_parse_url(const char *url, char **phost, char **pport, char **ppath,
int *pssl);
-int OCSP_id_issuer_cmp(OCSP_CERTID *a, OCSP_CERTID *b);
-int OCSP_id_cmp(OCSP_CERTID *a, OCSP_CERTID *b);
+int OCSP_id_issuer_cmp(const OCSP_CERTID *a, const OCSP_CERTID *b);
+int OCSP_id_cmp(const OCSP_CERTID *a, const OCSP_CERTID *b);
int OCSP_request_onereq_count(OCSP_REQUEST *req);
OCSP_ONEREQ *OCSP_request_onereq_get0(OCSP_REQUEST *req, int i);