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:
227aec9
)
Win32 fix (signed/unsigned compare error).
author
Dr. Stephen Henson
<steve@openssl.org>
Sat, 5 Oct 2002 11:59:51 +0000
(11:59 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sat, 5 Oct 2002 11:59:51 +0000
(11:59 +0000)
crypto/engine/hw_cswift.c
patch
|
blob
|
history
diff --git
a/crypto/engine/hw_cswift.c
b/crypto/engine/hw_cswift.c
index 31b6250dd0a2e07b1fea70efc6c76caf6ebddf26..36b59b165fadc8eb9f9955b3477c442c417a2b51 100644
(file)
--- a/
crypto/engine/hw_cswift.c
+++ b/
crypto/engine/hw_cswift.c
@@
-938,7
+938,7
@@
static int cswift_rand_bytes(unsigned char *buf, int num)
}
acquired = 1;
- while (nbytes < num)
+ while (nbytes <
(size_t)
num)
{
/* tell CryptoSwift how many bytes we want and where we want it.
* Note: - CryptoSwift cannot do more than 4096 bytes at a time.