diff options
author | Stef Walter <stefw@gnome.org> | 2012-07-17 08:09:16 +0200 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2012-07-26 12:22:31 +0200 |
commit | c6fc7b3ac4c6d4595f17989cff220d6d6dafe620 (patch) | |
tree | 413a793a152002f41f748b88a322fda5de26c8da /tests/mock-module-ep.c | |
parent | 1f428d62a13e481aa51d1fcee0c4652dc9ef7a72 (diff) |
Initialize mutexes correctly in mock module
https://bugzilla.gnome.org/show_bug.cgi?id=44740
Diffstat (limited to 'tests/mock-module-ep.c')
-rw-r--r-- | tests/mock-module-ep.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/mock-module-ep.c b/tests/mock-module-ep.c index c784546..7440a74 100644 --- a/tests/mock-module-ep.c +++ b/tests/mock-module-ep.c @@ -44,6 +44,7 @@ __declspec(dllexport) CK_RV C_GetFunctionList (CK_FUNCTION_LIST_PTR_PTR list) { + mock_module_init (); if (list == NULL) return CKR_ARGUMENTS_BAD; *list = &mock_module_no_slots; |