From c689917b393379d288b868f70b2f7b7f6aafe430 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Thu, 23 May 2019 13:21:17 +0200 Subject: tests: Avoid uninitialized value in test-proxy.c --- p11-kit/test-proxy.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/p11-kit/test-proxy.c b/p11-kit/test-proxy.c index 9a8f71d..27ba524 100644 --- a/p11-kit/test-proxy.c +++ b/p11-kit/test-proxy.c @@ -363,6 +363,10 @@ test_slot_event (void) rv = proxy->C_Initialize (NULL); assert (rv == CKR_OK); + rv = proxy->C_GetSlotList (CK_FALSE, NULL, &count); + assert (rv == CKR_OK); + assert (count == 2); + rv = proxy->C_GetSlotList (CK_FALSE, slots, &count); assert (rv == CKR_OK); assert (count == 2); -- cgit v1.1