diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2012-11-29 01:13:38 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2012-11-29 01:13:38 +0000 |
commit | 68f5500d31a3f5397924963ea4720a91a91971f2 (patch) | |
tree | 42b7a0a0a0114d49ea5a50e6aefead3ea7b682f7 /crypto | |
parent | 6f9076ff37049affcc66705dec650b445e290cca (diff) |
constify
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/ocsp/ocsp.h | 2 | ||||
-rw-r--r-- | crypto/ocsp/ocsp_lib.c | 2 |
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; |