gnome-keyring r1140 - in trunk: . pk
- From: nnielsen svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-keyring r1140 - in trunk: . pk
- Date: Tue, 29 Apr 2008 15:50:52 +0100 (BST)
Author: nnielsen
Date: Tue Apr 29 14:50:52 2008
New Revision: 1140
URL: http://svn.gnome.org/viewvc/gnome-keyring?rev=1140&view=rev
Log:
* pk/gkr-pk-cert.c: Don't use critical warnings on invalid
certificates. Return serial number properly.
Modified:
trunk/ChangeLog
trunk/pk/gkr-pk-cert.c
Modified: trunk/pk/gkr-pk-cert.c
==============================================================================
--- trunk/pk/gkr-pk-cert.c (original)
+++ trunk/pk/gkr-pk-cert.c Tue Apr 29 14:50:52 2008
@@ -535,7 +535,7 @@
if ((ret = load_certificate (cert)) != CKR_OK)
return ret;
data = gkr_pkix_asn1_read_value (cert->data->asn1, "tbsCertificate.serialNumber", &n_data, NULL);
- if (!cdata)
+ if (!data)
return CKR_GENERAL_ERROR;
gkr_pk_attribute_set_data (attr, data, n_data);
g_free (data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]