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 a0ffd92..37f83cd 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 c700ac6..5c9fc2b 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;