提交 8ab59e7a 编写于 作者: D Dr. Stephen Henson

Fix shadow warning.

上级 668ba7d6
...@@ -726,7 +726,7 @@ int ssl3_read_bytes(SSL *s, int type, unsigned char *buf, int len) ...@@ -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 *src = s->s3->handshake_fragment;
unsigned char *dst = buf; unsigned char *dst = buf;
unsigned int j; unsigned int k;
n = 0; n = 0;
while ((len > 0) && (s->s3->handshake_fragment_len > 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) ...@@ -736,8 +736,8 @@ int ssl3_read_bytes(SSL *s, int type, unsigned char *buf, int len)
n++; n++;
} }
/* move any remaining fragment bytes: */ /* move any remaining fragment bytes: */
for (j = 0; j < s->s3->handshake_fragment_len; j++) for (k = 0; k < s->s3->handshake_fragment_len; k++)
s->s3->handshake_fragment[j] = *src++; s->s3->handshake_fragment[k] = *src++;
return n; return n;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册