aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2007-02-19 14:53:18 +0000
committerBodo Möller <bodo@openssl.org>2007-02-19 14:53:18 +0000
commit7e69565fe680b8bf244a076f0b069f8937b6c7b8 (patch)
treec5197f34a67e9764d44eff6407789d6847b9e832
parentccae144d62e8de651d7398d27a3a56e6402ea892 (diff)
downloadopenssl-7e69565fe680b8bf244a076f0b069f8937b6c7b8.tar.gz
fix warnings/inconsistencies caused by the recent changes to the
ciphersuite selection code in HEAD Submitted by: Victor Duchovni
-rw-r--r--ssl/d1_clnt.c2
-rw-r--r--ssl/d1_srvr.c2
-rw-r--r--ssl/s2_lib.c4
-rw-r--r--ssl/s3_clnt.c2
-rw-r--r--ssl/s3_lib.c8
5 files changed, 11 insertions, 7 deletions
diff --git a/ssl/d1_clnt.c b/ssl/d1_clnt.c
index 0f3dd708a6..486bd32b03 100644
--- a/ssl/d1_clnt.c
+++ b/ssl/d1_clnt.c
@@ -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;
diff --git a/ssl/d1_srvr.c b/ssl/d1_srvr.c
index 450524a5e9..0fc40078f4 100644
--- a/ssl/d1_srvr.c
+++ b/ssl/d1_srvr.c
@@ -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;
diff --git a/ssl/s2_lib.c b/ssl/s2_lib.c
index 30ca8606e4..25148d3397 100644
--- a/ssl/s2_lib.c
+++ b/ssl/s2_lib.c
@@ -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,
diff --git a/ssl/s3_clnt.c b/ssl/s3_clnt.c
index 2a19ec496e..980dd79288 100644
--- a/ssl/s3_clnt.c
+++ b/ssl/s3_clnt.c
@@ -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;
diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c
index d4114f3de8..d438cbb10d 100644
--- a/ssl/s3_lib.c
+++ b/ssl/s3_lib.c
@@ -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,