gnome-keyring r1129 - in trunk: . pkix
- From: nnielsen svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-keyring r1129 - in trunk: . pkix
- Date: Sun, 6 Apr 2008 03:39:08 +0100 (BST)
Author: nnielsen
Date: Sun Apr 6 03:39:08 2008
New Revision: 1129
URL: http://svn.gnome.org/viewvc/gnome-keyring?rev=1129&view=rev
Log:
* pkix/gkr-pkix-openssl.c: Fix compiler warnings about
uninitialized variables. Patch by Alex Converse. Fixes
bug #523928
Modified:
trunk/ChangeLog
trunk/pkix/gkr-pkix-openssl.c
Modified: trunk/pkix/gkr-pkix-openssl.c
==============================================================================
--- trunk/pkix/gkr-pkix-openssl.c (original)
+++ trunk/pkix/gkr-pkix-openssl.c Sun Apr 6 03:39:08 2008
@@ -209,9 +209,11 @@
guchar **decrypted, gsize *n_decrypted)
{
gcry_cipher_hd_t ch;
- guchar *key, *iv;
- int algo, mode;
+ guchar *key = NULL;
+ guchar *iv = NULL;
int gcry, ivlen;
+ int algo = 0;
+ int mode = 0;
if (!parse_dekinfo (dekinfo, &algo, &mode, &iv))
return GKR_PKIX_UNRECOGNIZED;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]