projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Various Win32 fixes.
[openssl.git]
/
crypto
/
engine
/
hw_cswift.c
diff --git
a/crypto/engine/hw_cswift.c
b/crypto/engine/hw_cswift.c
index f925707a2456cba1ffda5b3459a276d72d606d9c..1b4e4e876ecac0253d85a74b3a839efe8a8bd1f1 100644
(file)
--- a/
crypto/engine/hw_cswift.c
+++ b/
crypto/engine/hw_cswift.c
@@
-939,7
+939,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.