Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openssl/openssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2000-02-26 05:16:36 +0300
committerDr. Stephen Henson <steve@openssl.org>2000-02-26 05:16:36 +0300
commit8ab59e7a49e624a0be1c489b345134c157983d37 (patch)
tree8acce3f8c4413b690efaca68baa3e47c9e9d024b /ssl/s3_pkt.c
parent668ba7d63f68a3326f68abf1dbeae81538e81813 (diff)
Fix shadow warning.
Diffstat (limited to 'ssl/s3_pkt.c')
-rw-r--r--ssl/s3_pkt.c6
1 files 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;
}