From 8ab59e7a49e624a0be1c489b345134c157983d37 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sat, 26 Feb 2000 02:16:36 +0000 Subject: [PATCH] Fix shadow warning. --- ssl/s3_pkt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } -- 2.25.1