summaryrefslogtreecommitdiff
path: root/p11-kit/tests/test-iter.c
diff options
context:
space:
mode:
Diffstat (limited to 'p11-kit/tests/test-iter.c')
-rw-r--r--p11-kit/tests/test-iter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/p11-kit/tests/test-iter.c b/p11-kit/tests/test-iter.c
index e8b1e84..055a4b3 100644
--- a/p11-kit/tests/test-iter.c
+++ b/p11-kit/tests/test-iter.c
@@ -987,6 +987,7 @@ test_get_attributes (void)
iter = p11_kit_iter_new (NULL, 0);
p11_kit_iter_begin (iter, modules);
+ at = 0;
while ((rv = p11_kit_iter_next (iter)) == CKR_OK) {
assert (sizeof (attrs) == sizeof (template));
memcpy (&attrs, &template, sizeof (attrs));