summaryrefslogtreecommitdiffstats
path: root/apps/s_server.c
diff options
context:
space:
mode:
authorNils Larsch <nils@openssl.org>2005-08-14 21:48:33 +0000
committerNils Larsch <nils@openssl.org>2005-08-14 21:48:33 +0000
commit4ebb342fcd90562bce999dcc0915b16f816fbbf2 (patch)
tree8fca5a4355d82d34612c249c1f9b6ae9b1ec59b9 /apps/s_server.c
parent8e5ef8538abfe1e4217ee3f51fafba8e743b93cd (diff)
Let the TLSv1_method() etc. functions return a const SSL_METHOD
pointer and make the SSL_METHOD parameter in SSL_CTX_new, SSL_CTX_set_ssl_version and SSL_set_ssl_method const.
Diffstat (limited to 'apps/s_server.c')
-rw-r--r--apps/s_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/s_server.c b/apps/s_server.c
index f83dd82343..41b9736025 100644
--- a/apps/s_server.c
+++ b/apps/s_server.c
@@ -544,7 +544,7 @@ int MAIN(int argc, char *argv[])
int off=0;
int no_tmp_rsa=0,no_dhe=0,no_ecdhe=0,nocert=0;
int state=0;
- SSL_METHOD *meth=NULL;
+ const SSL_METHOD *meth=NULL;
#ifdef sock_type
#undef sock_type
#endif