Fix shadow warning.
authorDr. Stephen Henson <steve@openssl.org>
Sat, 26 Feb 2000 02:16:36 +0000 (02:16 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 26 Feb 2000 02:16:36 +0000 (02:16 +0000)
ssl/s3_pkt.c

index a3d656be407d4aaead90771ae16a17c45a0a917f..eb965310d9b38ec0592e3a6b666576e438d5874d 100644 (file)
@@ -726,7 +726,7 @@ int ssl3_read_bytes(SSL *s, int type, unsigned char *buf, int len)
                {
                unsigned char *src = s->s3->handshake_fragment;
                unsigned char *dst = buf;
-               unsigned int j;
+               unsigned int k;
 
                n = 0;
                while ((len > 0) && (s->s3->handshake_fragment_len > 0))
@@ -736,8 +736,8 @@ int ssl3_read_bytes(SSL *s, int type, unsigned char *buf, int len)
                        n++;
                        }
                /* move any remaining fragment bytes: */
-               for (j = 0; j < s->s3->handshake_fragment_len; j++)
-                       s->s3->handshake_fragment[j] = *src++;
+               for (k = 0; k < s->s3->handshake_fragment_len; k++)
+                       s->s3->handshake_fragment[k] = *src++;
                return n;
        }