diff options
Diffstat (limited to 'test/crypto/testcrypto.cpp')
-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 c312a4a0..6d90e5e7 100644 --- a/test/crypto/testcrypto.cpp +++ b/test/crypto/testcrypto.cpp @@ -43,7 +43,7 @@ void check_random_int(uint32_t max) } } -#define ZERO_BUFFER(x) ::bzero(x, sizeof(x)); +#define ZERO_BUFFER(x) ::memset(x, 0, sizeof(x)); template<typename CipherType, int BLOCKSIZE> void test_cipher() |