aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/sslutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sslutils.c b/plugins/sslutils.c
index b8d45813..2ec91904 100644
--- a/plugins/sslutils.c
+++ b/plugins/sslutils.c
@@ -48,7 +48,7 @@ int np_net_ssl_init_with_hostname_and_version(int sd, char *host_name, int versi
}
int np_net_ssl_init_with_hostname_version_and_cert(int sd, char *host_name, int version, char *cert, char *privkey) {
- const SSL_METHOD *method = NULL;
+ SSL_METHOD *method = NULL;
switch (version) {
case 0: /* Deafult to auto negotiation */