From e888721242b10ba793529c3dcdbc9d5d3244a4ea Mon Sep 17 00:00:00 2001 From: Lefteris Chatzimparmpas Date: Mon, 4 Apr 2011 23:44:12 +0200 Subject: [PATCH] Correct compilation warning Correct the following compilation warning: warning: assignment discards qualifiers from pointer target type --- src/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/socket.c b/src/socket.c index 04fd6fd..1be9b5f 100644 --- a/src/socket.c +++ b/src/socket.c @@ -99,7 +99,7 @@ open_secure_connection(session *ssn, const char *server, const char *port, { int r, e; SSL_CTX *ctx; - SSL_METHOD *method; + const SSL_METHOD *method; method = NULL;