From: Dr. Stephen Henson Date: Sat, 26 Feb 2000 02:16:36 +0000 (+0000) Subject: Fix shadow warning. X-Git-Tag: OpenSSL_0_9_5beta2~31 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8ab59e7a49e624a0be1c489b345134c157983d37;p=oweals%2Fopenssl.git Fix shadow warning. --- diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c index a3d656be40..eb965310d9 100644 --- a/ssl/s3_pkt.c +++ b/ssl/s3_pkt.c @@ -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; }