summaryrefslogtreecommitdiff
path: root/test/crypto/testcrypto.cpp
diff options
context:
space:
mode:
authorMartin Ebourne <martin@ebourne.me.uk>2005-12-12 23:56:44 +0000
committerMartin Ebourne <martin@ebourne.me.uk>2005-12-12 23:56:44 +0000
commit62fcbae63de111cd2191cce3af4158af819914ee (patch)
tree67b3cf0cce33cca19b61fe8e154aefb2ca783f17 /test/crypto/testcrypto.cpp
parenta229c7a74ace6e26165bbb71bfe565be837e5830 (diff)
Merged 210:218 from chris/win32/merge/07-win32-fixes to trunk
Diffstat (limited to 'test/crypto/testcrypto.cpp')
-rw-r--r--test/crypto/testcrypto.cpp2
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()