summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2012-09-20 15:26:53 +0200
committerStef Walter <stefw@gnome.org>2012-09-25 15:51:51 +0200
commitcc771b6644b326b1e49347ed5835cc390772e7ef (patch)
treea2aca095aca7205e6526eb3394e212fdddba6a00
parent4776790b0f3f5ce9ce6a7909022746409c24a5a3 (diff)
downloadgcr-cc771b6644b326b1e49347ed5835cc390772e7ef.tar.gz
gck: Fix warnings printed by p11-kit during tests
* Don't pass invalid data to the mutex functions in an effort to test them, while running other tests. https://bugzilla.gnome.org/show_bug.cgi?id=684476
-rw-r--r--gck/gck-mock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gck/gck-mock.c b/gck/gck-mock.c
index 2fd6518..23f4c4d 100644
--- a/gck/gck-mock.c
+++ b/gck/gck-mock.c
@@ -1781,7 +1781,7 @@ gck_mock_unsupported_C_GenerateRandom (CK_SESSION_HANDLE hSession, CK_BYTE_PTR p
static CK_FUNCTION_LIST functionList = {
{ 2, 11 }, /* version */
- gck_mock_validate_and_C_Initialize,
+ gck_mock_C_Initialize,
gck_mock_C_Finalize,
gck_mock_C_GetInfo,
gck_mock_C_GetFunctionList,