summaryrefslogtreecommitdiff
path: root/src/slot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/slot.c')
-rw-r--r--src/slot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/slot.c b/src/slot.c
index 48addca..c5b01d0 100644
--- a/src/slot.c
+++ b/src/slot.c
@@ -231,6 +231,7 @@ test_slot_info(void)
P11T_SECTION("C_GetSlotList");
+ n_only = p11t_slot_count;
rv = (p11t_module_funcs->C_GetSlotList)(TRUE, only, &n_only);
P11T_CHECK_RV("Listing only tokens", rv, CKR_OK);