aboutsummaryrefslogtreecommitdiffstats
path: root/apps/s_time.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_time.c
parent8e5ef8538abfe1e4217ee3f51fafba8e743b93cd (diff)
downloadopenssl-4ebb342fcd90562bce999dcc0915b16f816fbbf2.tar.gz
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_time.c')
-rw-r--r--apps/s_time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/s_time.c b/apps/s_time.c
index 904945e1a8..606de54a86 100644
--- a/apps/s_time.c
+++ b/apps/s_time.c
@@ -177,7 +177,7 @@ static char *tm_cipher=NULL;
static int tm_verify = SSL_VERIFY_NONE;
static int maxTime = SECONDS;
static SSL_CTX *tm_ctx=NULL;
-static SSL_METHOD *s_time_meth=NULL;
+static const SSL_METHOD *s_time_meth=NULL;
static char *s_www_path=NULL;
static long bytes_read=0;
static int st_bugs=0;