diff options
Diffstat (limited to 'test/crypto/testcrypto.cpp')
-rw-r--r-- | test/crypto/testcrypto.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/crypto/testcrypto.cpp b/test/crypto/testcrypto.cpp index 6d90e5e7..32d2efb8 100644 --- a/test/crypto/testcrypto.cpp +++ b/test/crypto/testcrypto.cpp @@ -10,7 +10,6 @@ #include "Box.h" #include <string.h> -#include <strings.h> #include <openssl/rand.h> #include "Test.h" @@ -267,7 +266,7 @@ int test(int argc, const char *argv[]) // Check rolling checksums uint8_t *checkdata_blk = (uint8_t *)malloc(CHECKSUM_DATA_SIZE); uint8_t *checkdata = checkdata_blk; - RAND_pseudo_bytes(checkdata, CHECKSUM_DATA_SIZE); + RAND_bytes(checkdata, CHECKSUM_DATA_SIZE); for(int size = CHECKSUM_BLOCK_SIZE_BASE; size <= CHECKSUM_BLOCK_SIZE_LAST; ++size) { // Test skip-roll code |