Correct compilation warning

Correct the following compilation warning:

  warning: assignment discards qualifiers from pointer target type
This commit is contained in:
Lefteris Chatzimparmpas 2011-04-04 23:44:12 +02:00
parent 554b6739c4
commit e888721242

View File

@ -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;