[gnome-keyring] [rpc-layer] Fix problem initializing socket path in rpc module.



commit 768ad007cff5d6ea7f3004b410da43db527a970d
Author: Stef Walter <stef memberwebs com>
Date:   Sat Feb 27 17:06:43 2010 +0000

    [rpc-layer] Fix problem initializing socket path in rpc module.
    
    This is a regression from a recent commit.

 pkcs11/rpc-layer/gck-rpc-module.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/pkcs11/rpc-layer/gck-rpc-module.c b/pkcs11/rpc-layer/gck-rpc-module.c
index ed74a4c..f3c1c60 100644
--- a/pkcs11/rpc-layer/gck-rpc-module.c
+++ b/pkcs11/rpc-layer/gck-rpc-module.c
@@ -1128,7 +1128,7 @@ rpc_C_Initialize (CK_VOID_PTR init_args)
 	const char *path;
 	CallState *cs;
 	pid_t pid;
-	
+
 	debug (("C_Initialize: enter"));
 
 #ifdef _DEBUG 
@@ -1194,7 +1194,6 @@ rpc_C_Initialize (CK_VOID_PTR init_args)
 					goto done;
 				}
 				sprintf (pkcs11_socket_path, "%s/pkcs11", path);
-				pkcs11_socket_path[sizeof (pkcs11_socket_path) - 1] = 0;
 			}
 		}
 



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