commit | 4ebb342fcd90562bce999dcc0915b16f816fbbf2 | [log] [tgz] |
---|---|---|
author | Nils Larsch <nils@openssl.org> | Sun Aug 14 21:48:33 2005 +0000 |
committer | Nils Larsch <nils@openssl.org> | Sun Aug 14 21:48:33 2005 +0000 |
tree | 8fca5a4355d82d34612c249c1f9b6ae9b1ec59b9 | |
parent | 8e5ef8538abfe1e4217ee3f51fafba8e743b93cd [diff] [blame] |
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.
diff --git a/ssl/ssltest.c b/ssl/ssltest.c index 8c04e74..ee4e99a 100644 --- a/ssl/ssltest.c +++ b/ssl/ssltest.c
@@ -401,7 +401,7 @@ #endif SSL_CTX *s_ctx=NULL; SSL_CTX *c_ctx=NULL; - SSL_METHOD *meth=NULL; + const SSL_METHOD *meth=NULL; SSL *c_ssl,*s_ssl; int number=1,reuse=0; long bytes=256L;