[gnome-keyring/trust-store] [gkm] Don't barf on zero length certificate files.
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-keyring/trust-store] [gkm] Don't barf on zero length certificate files.
- Date: Tue, 21 Sep 2010 04:00:46 +0000 (UTC)
commit 5adba30aec9c7b10847b2eb39dc28f816882af31
Author: Stef Walter <stef memberwebs com>
Date: Tue Sep 21 03:58:26 2010 +0000
[gkm] Don't barf on zero length certificate files.
Don't raise an error on zero length certificate files. Simply
print message and continue loading other files.
pkcs11/gkm/gkm-certificate.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/pkcs11/gkm/gkm-certificate.c b/pkcs11/gkm/gkm-certificate.c
index 3b2a6ae..910c365 100644
--- a/pkcs11/gkm/gkm-certificate.c
+++ b/pkcs11/gkm/gkm-certificate.c
@@ -526,7 +526,6 @@ gkm_certificate_real_load (GkmSerializable *base, GkmSecret *login, gconstpointe
g_return_val_if_fail (GKM_IS_CERTIFICATE (self), FALSE);
g_return_val_if_fail (data, FALSE);
- g_return_val_if_fail (n_data, FALSE);
copy = g_memdup (data, n_data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]