]> granicus.if.org Git - apache/commitdiff
* modules/ssl/ssl_engine_vars.c (ssl_var_lookup_ssl_version): constify
authorJoe Orton <jorton@apache.org>
Wed, 21 Mar 2007 11:08:14 +0000 (11:08 +0000)
committerJoe Orton <jorton@apache.org>
Wed, 21 Mar 2007 11:08:14 +0000 (11:08 +0000)
where possible.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@520839 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_engine_vars.c

index 773918c3ed50237a683b7ee72834d8938339e582..fee48bd0f545d29aec1bc5dc3ccecc43a4e7afa6 100644 (file)
@@ -635,7 +635,7 @@ static void ssl_var_lookup_ssl_cipher_bits(SSL *ssl, int *usekeysize, int *algke
 
 static char *ssl_var_lookup_ssl_version(apr_pool_t *p, char *var)
 {
-    static char interface[] = "mod_ssl/" MOD_SSL_VERSION;
+    static const char interface[] = "mod_ssl/" MOD_SSL_VERSION;
     static char library_interface[] = SSL_LIBRARY_TEXT;
     static char *library = NULL;
     char *result;