summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/afclient.c2
-rw-r--r--src/afserver.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/afclient.c b/src/afclient.c
index 3a97b9b..a22ece3 100644
--- a/src/afclient.c
+++ b/src/afclient.c
@@ -124,7 +124,7 @@ main(int argc, char **argv)
#ifdef HAVE_LIBDL
Module *moduleA = Module_new(), *moduleB = Module_new();
#endif
- SSL_METHOD* method;
+ const SSL_METHOD* method;
SSL_CTX* ctx = NULL;
/*
diff --git a/src/afserver.c b/src/afserver.c
index d769b8a..1e7c9d2 100644
--- a/src/afserver.c
+++ b/src/afserver.c
@@ -118,7 +118,7 @@ main(int argc, char **argv)
char* dateformat = NULL;
static char* stemp = NULL;
- SSL_METHOD* method;
+ const SSL_METHOD* method;
SSL_CTX* ctx;
SSL* tmp_ssl;