diff options
Diffstat (limited to 'crypto/engine/hw_cswift.c')
-rw-r--r-- | crypto/engine/hw_cswift.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/engine/hw_cswift.c b/crypto/engine/hw_cswift.c index f925707a24..1b4e4e876e 100644 --- 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. |