fix warnings/inconsistencies caused by the recent changes to the
authorBodo Möller <bodo@openssl.org>
Mon, 19 Feb 2007 14:53:18 +0000 (14:53 +0000)
committerBodo Möller <bodo@openssl.org>
Mon, 19 Feb 2007 14:53:18 +0000 (14:53 +0000)
ciphersuite selection code in HEAD

Submitted by: Victor Duchovni

ssl/d1_clnt.c
ssl/d1_srvr.c
ssl/s2_lib.c
ssl/s3_clnt.c
ssl/s3_lib.c

index 0f3dd70..486bd32 100644 (file)
@@ -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;
index 450524a..0fc4007 100644 (file)
@@ -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;
index 30ca860..25148d3 100644 (file)
@@ -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,
index 2a19ec4..980dd79 100644 (file)
@@ -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;
index d4114f3..d438cbb 100644 (file)
@@ -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,