Constify various mostly X509-related parameter types in crypto/ and apps/
[oweals/openssl.git] / crypto / ocsp / ocsp_cl.c
index 8bd55038f297ceedc9901cd0689d259e163c18a0..6523dfec225561ef1a6fcba84bd5205a380fb0ac 100644 (file)
@@ -48,7 +48,7 @@ OCSP_ONEREQ *OCSP_request_add0_id(OCSP_REQUEST *req, OCSP_CERTID *cid)
 
 /* Set requestorName from an X509_NAME structure */
 
-int OCSP_request_set1_name(OCSP_REQUEST *req, X509_NAME *nm)
+int OCSP_request_set1_name(OCSP_REQUEST *req, const X509_NAME *nm)
 {
     GENERAL_NAME *gen;