Commit 4ebb342f authored by Nils Larsch's avatar Nils Larsch
Browse files

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.
parent 8e5ef853
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -4,6 +4,11 @@

 Changes between 0.9.8 and 0.9.9  [xx XXX xxxx]

  *) 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'.
     [Nils Larsch]

  *) Modify CRL distribution points extension code to print out previously
     unsupported fields. Enhance extension setting code to allow setting of
     all fields.
+1 −1
Original line number Diff line number Diff line
@@ -90,7 +90,7 @@ int MAIN(int argc, char **argv)
	SSL_CTX *ctx=NULL;
	SSL *ssl=NULL;
	char *ciphers=NULL;
	SSL_METHOD *meth=NULL;
	const SSL_METHOD *meth=NULL;
	STACK_OF(SSL_CIPHER) *sk;
	char buf[512];
	BIO *STDout=NULL;
+1 −1
Original line number Diff line number Diff line
@@ -262,7 +262,7 @@ int MAIN(int argc, char **argv)
	int ret=1,in_init=1,i,nbio_test=0;
	int starttls_proto = 0;
	int prexit = 0, vflags = 0;
	SSL_METHOD *meth=NULL;
	const SSL_METHOD *meth=NULL;
#ifdef sock_type
#undef sock_type
#endif
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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;
Loading