[gcr] gck: Fix warnings printed by p11-kit during tests



commit cc771b6644b326b1e49347ed5835cc390772e7ef
Author: Stef Walter <stefw gnome org>
Date:   Thu Sep 20 15:26:53 2012 +0200

    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

 gck/gck-mock.c |    2 +-
 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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]