summaryrefslogtreecommitdiffstats
path: root/security/gnome-keyring/files/patch-gcr_gcr-certificate.c
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-09-04 18:54:57 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-09-04 18:54:57 +0800
commitd983f701c8dd1d017c22a7c8dbed7b49a7cef09a (patch)
tree261b25a58c02806c956c99d7a22e08499505b3f7 /security/gnome-keyring/files/patch-gcr_gcr-certificate.c
parentd3aaafca3af6f7891dc3d53cb6bc09a21786d74e (diff)
downloadmarcuscom-ports-d983f701c8dd1d017c22a7c8dbed7b49a7cef09a.tar
marcuscom-ports-d983f701c8dd1d017c22a7c8dbed7b49a7cef09a.tar.gz
marcuscom-ports-d983f701c8dd1d017c22a7c8dbed7b49a7cef09a.tar.bz2
marcuscom-ports-d983f701c8dd1d017c22a7c8dbed7b49a7cef09a.tar.lz
marcuscom-ports-d983f701c8dd1d017c22a7c8dbed7b49a7cef09a.tar.xz
marcuscom-ports-d983f701c8dd1d017c22a7c8dbed7b49a7cef09a.tar.zst
marcuscom-ports-d983f701c8dd1d017c22a7c8dbed7b49a7cef09a.zip
Update to 2.31.91.
Depend on security/ca_root_nss for gnome-keyring Root Certificates support. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14545 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'security/gnome-keyring/files/patch-gcr_gcr-certificate.c')
-rw-r--r--security/gnome-keyring/files/patch-gcr_gcr-certificate.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/gnome-keyring/files/patch-gcr_gcr-certificate.c b/security/gnome-keyring/files/patch-gcr_gcr-certificate.c
new file mode 100644
index 000000000..bdf10bf14
--- /dev/null
+++ b/security/gnome-keyring/files/patch-gcr_gcr-certificate.c
@@ -0,0 +1,11 @@
+--- gcr/gcr-certificate.c.orig 2010-09-04 12:04:30.000000000 +0200
++++ gcr/gcr-certificate.c 2010-09-04 12:04:42.000000000 +0200
+@@ -158,7 +158,7 @@ calculate_key_size (GcrCertificateInfo *
+ const guchar *data, *params;
+ gsize n_data, n_params;
+ guint key_size = 0, n_bits;
+- guchar *key;
++ guchar *key = NULL;
+ GQuark oid;
+
+ data = egg_asn1x_get_raw_element (egg_asn1x_node (info->asn1, "tbsCertificate", "subjectPublicKeyInfo", NULL), &n_data);