@@ -126,7 +126,7 @@ void ssl_log_ssl_error(const char *file, int line, int level, server_rec *s)
126126static void ssl_log_cert_error (const char * file , int line , int level ,
127127 apr_status_t rv , const server_rec * s ,
128128 const conn_rec * c , const request_rec * r ,
129- apr_pool_t * p , X509 * cert , const char * format ,
129+ apr_pool_t * p , const X509 * cert , const char * format ,
130130 va_list ap )
131131{
132132 char buf [HUGE_STRING_LEN ];
@@ -212,7 +212,7 @@ static void ssl_log_cert_error(const char *file, int line, int level,
212212 * in the other cases we use the connection and request pool, respectively).
213213 */
214214void ssl_log_xerror (const char * file , int line , int level , apr_status_t rv ,
215- apr_pool_t * ptemp , server_rec * s , X509 * cert ,
215+ apr_pool_t * ptemp , server_rec * s , const X509 * cert ,
216216 const char * fmt , ...)
217217{
218218 if (APLOG_IS_LEVEL (s ,level )) {
@@ -225,7 +225,7 @@ void ssl_log_xerror(const char *file, int line, int level, apr_status_t rv,
225225}
226226
227227void ssl_log_cxerror (const char * file , int line , int level , apr_status_t rv ,
228- conn_rec * c , X509 * cert , const char * fmt , ...)
228+ conn_rec * c , const X509 * cert , const char * fmt , ...)
229229{
230230 if (APLOG_IS_LEVEL (mySrvFromConn (c ),level )) {
231231 va_list ap ;
@@ -237,7 +237,7 @@ void ssl_log_cxerror(const char *file, int line, int level, apr_status_t rv,
237237}
238238
239239void ssl_log_rxerror (const char * file , int line , int level , apr_status_t rv ,
240- request_rec * r , X509 * cert , const char * fmt , ...)
240+ request_rec * r , const X509 * cert , const char * fmt , ...)
241241{
242242 if (APLOG_R_IS_LEVEL (r ,level )) {
243243 va_list ap ;
0 commit comments