From 43a3f5df8124bb85567feb18975d19fa1b639b9f Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 24 Jan 2013 09:30:33 +0100 Subject: Add more mock-module implementation * Move mock code into the common/ directory to be used by multiple components of p11-kit --- p11-kit/tests/test-init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'p11-kit/tests/test-init.c') diff --git a/p11-kit/tests/test-init.c b/p11-kit/tests/test-init.c index 7664666..1c13b15 100644 --- a/p11-kit/tests/test-init.c +++ b/p11-kit/tests/test-init.c @@ -48,7 +48,7 @@ #include "p11-kit/p11-kit.h" -#include "mock-module.h" +#include "mock.h" CK_FUNCTION_LIST module; @@ -281,7 +281,7 @@ test_load_and_initialize (CuTest *tc) rv = (module->C_GetInfo) (&info); CuAssertTrue (tc, rv == CKR_OK); - ret = memcmp (info.manufacturerID, "MOCK MANUFACTURER ", 32); + ret = memcmp (info.manufacturerID, "MOCK MANUFACTURER ", 32); CuAssertTrue (tc, ret == 0); rv = p11_kit_finalize_module (module); -- cgit v1.1