diff options
author | Chris Wilson <qris@users.noreply.github.com> | 2018-01-02 21:13:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-02 21:13:55 +0000 |
commit | 6d7e9562e8485591a4888f1fc2d3c6c657dc7a01 (patch) | |
tree | 237b161707ed2b45b07a455f0089f23c6ecc1dd3 /test | |
parent | a0fa0c4f5f338335034f172af290025d48d5a1d5 (diff) | |
parent | 85e7efc3fa0477f60318d2cd2144503a9ea8feb9 (diff) |
Merge pull request #22 from boxbackup/openssl_1_1
Fix compatibility with OpenSSL 1.1
Diffstat (limited to 'test')
-rw-r--r-- | test/crypto/testcrypto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/crypto/testcrypto.cpp b/test/crypto/testcrypto.cpp index 4e623cc2..32d2efb8 100644 --- a/test/crypto/testcrypto.cpp +++ b/test/crypto/testcrypto.cpp @@ -266,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 |