From: Ari Johnson Date: Fri, 20 Sep 2013 15:17:28 +0000 (-0400) Subject: Add a const to ssl_init to avoid compiler warning X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=2fce94a974251d31f64581cffa10f109286f0279;p=cobramush.git Add a const to ssl_init to avoid compiler warning --- diff --git a/src/myssl.c b/src/myssl.c index 4dfa313..0b68fae 100644 --- a/src/myssl.c +++ b/src/myssl.c @@ -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) {