summaryrefslogtreecommitdiff
path: root/lib/libwebsockets.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libwebsockets.c')
-rw-r--r--lib/libwebsockets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libwebsockets.c b/lib/libwebsockets.c
index ee950b6..fe6408d 100644
--- a/lib/libwebsockets.c
+++ b/lib/libwebsockets.c
@@ -168,7 +168,7 @@ int libwebsocket_create_server(int port,
int opt = 1;
#ifdef LWS_OPENSSL_SUPPORT
- const SSL_METHOD *method;
+ SSL_METHOD *method;
char ssl_err_buf[512];
use_ssl = ssl_cert_filepath != NULL && ssl_private_key_filepath != NULL;