Add a const to ssl_init to avoid compiler warning
authorAri Johnson <ari@theari.com>
Fri, 20 Sep 2013 15:17:28 +0000 (11:17 -0400)
committerAri Johnson <ari@theari.com>
Fri, 20 Sep 2013 15:17:28 +0000 (11:17 -0400)
src/myssl.c

index 4dfa313e16f3a3da429926c16b2be00faa71ddc5..0b68fae2fc0901aefe3207164b5ab465901d9ec6 100644 (file)
@@ -110,7 +110,7 @@ static SSL_CTX *ctx = NULL;
 SSL_CTX *
 ssl_init(void)
 {
-  SSL_METHOD *meth;
+  const SSL_METHOD *meth;
   unsigned char context[128];
 
   if (!bio_err) {