gnome-keyring r1276 - in trunk: . daemon/pk
- From: nnielsen svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-keyring r1276 - in trunk: . daemon/pk
- Date: Thu, 28 Aug 2008 02:50:52 +0000 (UTC)
Author: nnielsen
Date: Thu Aug 28 02:50:52 2008
New Revision: 1276
URL: http://svn.gnome.org/viewvc/gnome-keyring?rev=1276&view=rev
Log:
* daemon/pk/gkr-pk-netscape-trust.c: Fix bug where we always
return CKR_FUNCTION_CANCELLED.
Modified:
trunk/ChangeLog
trunk/daemon/pk/gkr-pk-netscape-trust.c
Modified: trunk/daemon/pk/gkr-pk-netscape-trust.c
==============================================================================
--- trunk/daemon/pk/gkr-pk-netscape-trust.c (original)
+++ trunk/daemon/pk/gkr-pk-netscape-trust.c Thu Aug 28 02:50:52 2008
@@ -101,7 +101,7 @@
res = gkr_pkix_der_read_key_usage (extension, n_extension, &usage);
g_free (extension);
- if (res != GKR_PKIX_CANCELLED)
+ if (res == GKR_PKIX_CANCELLED)
return CKR_FUNCTION_CANCELED;
if (res != GKR_PKIX_SUCCESS) {
g_warning ("invalid key usage in certificate");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]