Commit 7e69565f authored by Bodo Möller's avatar Bodo Möller
Browse files

fix warnings/inconsistencies caused by the recent changes to the

ciphersuite selection code in HEAD

Submitted by: Victor Duchovni
parent ccae144d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -144,7 +144,7 @@ IMPLEMENT_dtls1_meth_func(DTLSv1_client_method,
int dtls1_connect(SSL *s)
	{
	BUF_MEM *buf=NULL;
	unsigned long Time=(unsigned long)time(NULL),l;
	unsigned long Time=(unsigned long)time(NULL);
	long num1;
	void (*cb)(const SSL *ssl,int type,int val)=NULL;
	int ret= -1;
+1 −1
Original line number Diff line number Diff line
@@ -145,7 +145,7 @@ IMPLEMENT_dtls1_meth_func(DTLSv1_server_method,
int dtls1_accept(SSL *s)
	{
	BUF_MEM *buf;
	unsigned long l,Time=(unsigned long)time(NULL);
	unsigned long Time=(unsigned long)time(NULL);
	void (*cb)(const SSL *ssl,int type,int val)=NULL;
	long num1;
	unsigned long alg_k;
+4 −0
Original line number Diff line number Diff line
@@ -279,6 +279,10 @@ OPENSSL_GLOBAL SSL_CIPHER ssl2_ciphers[]={
	SSL2_TXT_NULL,
	SSL2_CK_NULL,
	0,
	0,
	0,
	0,
	SSL_SSLV2,
	SSL_STRONG_NONE,
	0,
	0,
+1 −1
Original line number Diff line number Diff line
@@ -1828,7 +1828,7 @@ int ssl3_send_client_key_exchange(SSL *s)

#ifdef KSSL_DEBUG
			printf("ssl3_send_client_key_exchange(%lx & %lx)\n",
				l, SSL_kKRB5);
				alg_k, SSL_kKRB5);
#endif	/* KSSL_DEBUG */

			authp = NULL;
+4 −4
Original line number Diff line number Diff line
@@ -699,12 +699,12 @@ OPENSSL_GLOBAL SSL_CIPHER ssl3_ciphers[]={
	1,
	SSL3_TXT_KRB5_RC4_128_SHA,
	SSL3_CK_KRB5_RC4_128_SHA,
	SSL_kKRB5,SSL_aKRB5,
	SSL_kKRB5,
	SSL_aKRB5,
	SSL_RC4,
	SSL_SHA1,
	SSL_SSLV3,
	SSL_NOT_EXP,
	SSL_MEDIUM,
	SSL_NOT_EXP|SSL_MEDIUM,
	0,
	128,
	128,
@@ -799,7 +799,7 @@ OPENSSL_GLOBAL SSL_CIPHER ssl3_ciphers[]={
	SSL_aKRB5,
	SSL_DES,
	SSL_SHA1,
	|SSL_SSLV3,
	SSL_SSLV3,
	SSL_EXPORT|SSL_EXP40,
	0,
	40,