summaryrefslogtreecommitdiff
path: root/regress/sys/crypto/key_wrap
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2011-04-04 16:46:23 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2011-04-04 16:46:23 +0000
commit8a681400dd81bfe2c3ca0d22c587db976ce726ab (patch)
treeda17610a9b6110e16a434b2f4b64bf9333ca0194 /regress/sys/crypto/key_wrap
parent9d592ce754acc004e419049d47e80509af043396 (diff)
provide fake copies of explicit_bzero in the test scaffolds for kernel code
Diffstat (limited to 'regress/sys/crypto/key_wrap')
-rw-r--r--regress/sys/crypto/key_wrap/key_wrap_test.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/regress/sys/crypto/key_wrap/key_wrap_test.c b/regress/sys/crypto/key_wrap/key_wrap_test.c
index 52e34e0bae3..161ed20769b 100644
--- a/regress/sys/crypto/key_wrap/key_wrap_test.c
+++ b/regress/sys/crypto/key_wrap/key_wrap_test.c
@@ -81,3 +81,9 @@ main(void)
return 0;
}
+
+void
+explicit_bzero(void *b, size_t len)
+{
+ bzero(b, len);
+}