From 2fce94a974251d31f64581cffa10f109286f0279 Mon Sep 17 00:00:00 2001 From: Ari Johnson Date: Fri, 20 Sep 2013 11:17:28 -0400 Subject: [PATCH] Add a const to ssl_init to avoid compiler warning --- src/myssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.30.2