summaryrefslogtreecommitdiffstats
path: root/crypto/ocsp
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-11-29 01:13:38 +0000
committerDr. Stephen Henson <steve@openssl.org>2013-01-17 16:35:50 +0000
commitc644b83227890ca61665e9cb188c4c03d4a3fc24 (patch)
treeef7abe126ffe33a72ebc8e1b5e6607c187fe4cd4 /crypto/ocsp
parent75f535315aadb36a4c591c0b6710e4962a7aa841 (diff)
constify
Diffstat (limited to 'crypto/ocsp')
-rw-r--r--crypto/ocsp/ocsp.h2
-rw-r--r--crypto/ocsp/ocsp_lib.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/ocsp/ocsp.h b/crypto/ocsp/ocsp.h
index 2ad7cf2d26..7bf3404b50 100644
--- a/crypto/ocsp/ocsp.h
+++ b/crypto/ocsp/ocsp.h
@@ -464,7 +464,7 @@ int OCSP_check_validity(ASN1_GENERALIZEDTIME *thisupd,
int OCSP_request_verify(OCSP_REQUEST *req, STACK_OF(X509) *certs, X509_STORE *store, unsigned long flags);
-int OCSP_parse_url(char *url, char **phost, char **pport, char **ppath, int *pssl);
+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);
diff --git a/crypto/ocsp/ocsp_lib.c b/crypto/ocsp/ocsp_lib.c
index a94dc838ee..2678e222dd 100644
--- a/crypto/ocsp/ocsp_lib.c
+++ b/crypto/ocsp/ocsp_lib.c
@@ -165,7 +165,7 @@ int OCSP_id_cmp(OCSP_CERTID *a, OCSP_CERTID *b)
* it is SSL.
*/
-int OCSP_parse_url(char *url, char **phost, char **pport, char **ppath, int *pssl)
+int OCSP_parse_url(const char *url, char **phost, char **pport, char **ppath, int *pssl)
{
char *p, *buf;