Fix warnings.
authorBen Laurie <ben@openssl.org>
Sat, 27 Aug 2005 12:10:34 +0000 (12:10 +0000)
committerBen Laurie <ben@openssl.org>
Sat, 27 Aug 2005 12:10:34 +0000 (12:10 +0000)
ssl/s2_lib.c
ssl/s3_lib.c

index a0ffd92aa2eee8816a206050d96b899303008d3a..37f83cd891931b414de7ed03dee6c399c4a4f0a5 100644 (file)
@@ -336,7 +336,6 @@ SSL_CIPHER *ssl2_get_cipher_by_char(const unsigned char *p)
        {
        SSL_CIPHER c,*cp;
        unsigned long id;
-       unsigned int i;
 
        id=0x02000000L|((unsigned long)p[0]<<16L)|
                ((unsigned long)p[1]<<8L)|(unsigned long)p[2];
index c700ac637260f288233d314c68d72c3bad8b49dd..5c9fc2bdf7e282077e376bae33389bb39d73af29 100644 (file)
@@ -1880,7 +1880,6 @@ SSL_CIPHER *ssl3_get_cipher_by_char(const unsigned char *p)
        {
        SSL_CIPHER c,*cp;
        unsigned long id;
-       unsigned int i;
 
        id=0x03000000L|((unsigned long)p[0]<<8L)|(unsigned long)p[1];
        c.id=id;