gnome-keyring r1100 - in trunk: . pkcs11



Author: nnielsen
Date: Tue Feb 26 23:36:39 2008
New Revision: 1100
URL: http://svn.gnome.org/viewvc/gnome-keyring?rev=1100&view=rev

Log:
	* pkcs11/gkr-pkcs11-daemon-session.c: Build fix. 
	Patch by Jens Granseuer. Fixes bug #518916


Modified:
   trunk/ChangeLog
   trunk/pkcs11/gkr-pkcs11-daemon-session.c

Modified: trunk/pkcs11/gkr-pkcs11-daemon-session.c
==============================================================================
--- trunk/pkcs11/gkr-pkcs11-daemon-session.c	(original)
+++ trunk/pkcs11/gkr-pkcs11-daemon-session.c	Tue Feb 26 23:36:39 2008
@@ -776,8 +776,9 @@
 static CryptContext*
 new_crypt_context (CK_MECHANISM_TYPE mech, GkrPkObject *key)
 {
+	CryptContext *ctx;
 	g_assert (key);
-	CryptContext *ctx = g_new0 (CryptContext, 1);
+	ctx = g_new0 (CryptContext, 1);
 	ctx->mechanism = mech;
 	ctx->key = key;
 	g_object_ref (key);



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