Constify various mostly X509-related parameter types in crypto/ and apps/
[openssl.git] / crypto / ocsp / ocsp_ext.c
index bffcf09dddde357af8e9f672fd6ddec31fdc4f46..c8b698de398ef1747c1101b81c8f73a9d1bdab05 100644 (file)
@@ -430,7 +430,7 @@ X509_EXTENSION *OCSP_archive_cutoff_new(char *tim)
  * two--NID_ad_ocsp, NID_id_ad_caIssuers--and GeneralName value.  This method
  * forces NID_ad_ocsp and uniformResourceLocator [6] IA5String.
  */
-X509_EXTENSION *OCSP_url_svcloc_new(X509_NAME *issuer, const char **urls)
+X509_EXTENSION *OCSP_url_svcloc_new(const X509_NAME *issuer, const char **urls)
 {
     X509_EXTENSION *x = NULL;
     ASN1_IA5STRING *ia5 = NULL;