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:
c15bf8f
)
Fix unsigned vs. signed clash
author
Richard Levitte
<levitte@openssl.org>
Mon, 29 Apr 2002 10:30:05 +0000
(10:30 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Mon, 29 Apr 2002 10:30:05 +0000
(10:30 +0000)
ssl/ssltest.c
patch
|
blob
|
history
diff --git
a/ssl/ssltest.c
b/ssl/ssltest.c
index ebd3b527df11457631d4d14cd0aa20cd1237c146..5f91ed19c73705c108623eb32fd8fef4237a5e59 100644
(file)
--- a/
ssl/ssltest.c
+++ b/
ssl/ssltest.c
@@
-850,7
+850,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 */