projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfc5336
)
Fix unsigned vs. signed clash
author
Richard Levitte
<levitte@openssl.org>
Mon, 29 Apr 2002 10:30:34 +0000
(10:30 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Mon, 29 Apr 2002 10:30:34 +0000
(10:30 +0000)
ssl/ssltest.c
patch
|
blob
|
history
diff --git
a/ssl/ssltest.c
b/ssl/ssltest.c
index f98202945ebf67a7a9eb4e4c24a0c6550d150e76..1d9b30d78aa96127dfc224951dabd765019865d3 100644
(file)
--- a/
ssl/ssltest.c
+++ b/
ssl/ssltest.c
@@
-991,7
+991,7
@@
int doit_biopair(SSL *s_ssl, SSL *c_ssl, long count,
do
{
size_t num;
-
in
t r;
+
size_
t r;
r1 = BIO_ctrl_pending(io1);
r2 = BIO_ctrl_get_write_guarantee(io2);
@@
-1055,7
+1055,7
@@
int doit_biopair(SSL *s_ssl, SSL *c_ssl, long count,
r = BIO_nwrite0(io1, &dataptr);
assert(r > 0);
- if (r < num)
+ if (r <
(int)
num)
num = r;
r = BIO_read(io2, dataptr, (int)num);
if (r != (int)num) /* can't happen */