From f0c82b07f8b31a4b86de32436cb4f5053de16336 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Thu, 22 Nov 2018 16:19:52 +0100 Subject: build: Suppress cppcheck errors --- trust/test-openssl.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'trust/test-openssl.c') diff --git a/trust/test-openssl.c b/trust/test-openssl.c index b1276df..3c20625 100644 --- a/trust/test-openssl.c +++ b/trust/test-openssl.c @@ -595,11 +595,14 @@ test_directory (void) ret = p11_extract_openssl_directory (&test.ex, test.directory); assert_num_eq (true, ret); - test_check_directory (test.directory, ("Custom_Label.pem", "Custom_Label.1.pem", #ifdef OS_UNIX - "e5662767.1", "e5662767.0", "590d426f.1", "590d426f.0", + test_check_directory (test.directory, ("Custom_Label.pem", "Custom_Label.1.pem", + "e5662767.1", "e5662767.0", "590d426f.1", "590d426f.0", + NULL)); +#else + test_check_directory (test.directory, ("Custom_Label.pem", "Custom_Label.1.pem", + NULL)); #endif - NULL)); test_check_file (test.directory, "Custom_Label.pem", SRCDIR "/trust/fixtures/cacert3-trusted-server-alias.pem"); test_check_file (test.directory, "Custom_Label.1.pem", -- cgit v1.1