summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2016-09-20 15:01:04 +0200
committerStef Walter <stefw@redhat.com>2016-10-05 14:47:39 +0200
commit2fe688e8bd360ce2f364bfb6ef80e07712c9bb86 (patch)
tree754f46728891c8d0c52a427670e255c56a0c6e58
parent6923e8fb56692b20d24398d4746d2399490acdc1 (diff)
test: Fix p11_virtual_init() usage
p11_virtual_init() should take a CK_FUNCTION_LIST as the 3rd argument, if the 2nd argument is &p11_virtual_base. https://bugs.freedesktop.org/show_bug.cgi?id=87192
-rw-r--r--p11-kit/test-virtual.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/p11-kit/test-virtual.c b/p11-kit/test-virtual.c
index 73777d3..e642820 100644
--- a/p11-kit/test-virtual.c
+++ b/p11-kit/test-virtual.c
@@ -138,7 +138,7 @@ test_get_function_list (void)
p11_virtual virt;
CK_RV rv;
- p11_virtual_init (&virt, &p11_virtual_base, &mock_x_module_no_slots, NULL);
+ p11_virtual_init (&virt, &p11_virtual_base, &mock_module_no_slots, NULL);
module = p11_virtual_wrap (&virt, NULL);
assert_ptr_not_null (module);