diff options
author | Joshua Judson Rosen | 2014-11-18 21:10:13 -0500 |
---|---|---|
committer | Joshua Judson Rosen | 2014-11-18 21:10:13 -0500 |
commit | 41bf28a5efad5aa5cd47a180c03ea5434fb98ddc (patch) | |
tree | 28f8e4b69def66429fa01ab1e03576c6fb4fe2d0 | |
parent | afserver: log which protocol version was accepted by SSL_accept. (diff) | |
download | apf-41bf28a5efad5aa5cd47a180c03ea5434fb98ddc.tar.gz |
Add missing const qualifier on SSL_METHOD* vars.
-rw-r--r-- | src/afclient.c | 2 | ||||
-rw-r--r-- | src/afserver.c | 2 |
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; |