diff options
Diffstat (limited to 'src/crypto/rand_extra/rand_extra.c')
-rw-r--r-- | src/crypto/rand_extra/rand_extra.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/crypto/rand_extra/rand_extra.c b/src/crypto/rand_extra/rand_extra.c index 3b37e297..bed9e1ef 100644 --- a/src/crypto/rand_extra/rand_extra.c +++ b/src/crypto/rand_extra/rand_extra.c @@ -18,14 +18,14 @@ void RAND_seed(const void *buf, int num) { - /* OpenSSH calls |RAND_seed| before jailing on the assumption that any needed - * file descriptors etc will be opened. */ + // OpenSSH calls |RAND_seed| before jailing on the assumption that any needed + // file descriptors etc will be opened. uint8_t unused; RAND_bytes(&unused, sizeof(unused)); } int RAND_load_file(const char *path, long num) { - if (num < 0) { /* read the "whole file" */ + if (num < 0) { // read the "whole file" return 1; } else if (num <= INT_MAX) { return (int) num; |