Commit 059af12f authored by Jakub Jelen's avatar Jakub Jelen Committed by Daiki Ueno

Avoid using uninitialized variables and allow strict builds

parent c1801a6f
......@@ -103,7 +103,7 @@ mock_module_object_new (GkmSession *session)
gchar *data;
CK_ATTRIBUTE attrs[] = {
{ CKA_VALUE, data, n_data },
{ CKA_VALUE, NULL, 0 },
{ CKA_TOKEN, &token, sizeof (token) },
{ CKA_CLASS, &klass, sizeof (klass) },
{ CKA_CERTIFICATE_TYPE, &type, sizeof (type) },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment