This commit is contained in:
Dr. Stephen Henson 2012-11-29 01:13:38 +00:00
parent 6f9076ff37
commit 68f5500d31
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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;