summaryrefslogtreecommitdiff
path: root/debian/patches/0502-Have-all-soup-sessions-validate-TLS-certificates.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2019-10-08 07:25:27 +0200
committerJörg Frings-Fürst <debian@jff.email>2019-10-08 07:25:27 +0200
commit6d050e13e9dbbeffdb45fc1c5b977b996d310981 (patch)
treeb201bc97ea832ce0c43f144ef7229f52e42bbf23 /debian/patches/0502-Have-all-soup-sessions-validate-TLS-certificates.patch
parent10ce63378912ef63c8882889f02ed4dff0416f32 (diff)
parentd84f449fcb5ea05fcbb9eee098b7438aa332ad31 (diff)
Merge branch 'release/debian/0.30.7-1'debian/0.30.7-1
Diffstat (limited to 'debian/patches/0502-Have-all-soup-sessions-validate-TLS-certificates.patch')
-rw-r--r--debian/patches/0502-Have-all-soup-sessions-validate-TLS-certificates.patch39
1 files changed, 0 insertions, 39 deletions
diff --git a/debian/patches/0502-Have-all-soup-sessions-validate-TLS-certificates.patch b/debian/patches/0502-Have-all-soup-sessions-validate-TLS-certificates.patch
deleted file mode 100644
index df24283..0000000
--- a/debian/patches/0502-Have-all-soup-sessions-validate-TLS-certificates.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From ac6efab13554d1ef39eb8b86744234d72773c2da Mon Sep 17 00:00:00 2001
-From: Michael Catanzaro <mcatanzaro@igalia.com>
-Date: Fri, 4 Dec 2015 17:34:17 +0100
-Subject: [PATCH] Have all soup sessions validate TLS certificates
-
-Note that this commit is *not* sufficient to fix certificate verification
-on its own. The port to WK2 is also required, else WebKit's soup session
-will not verify certificates.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=751709
----
- plugins/common/RESTSupport.vala | 1 +
- plugins/shotwell-publishing/FacebookPublishing.vala | 1 +
- 2 files changed, 2 insertions(+)
-
-Index: trunk/plugins/common/RESTSupport.vala
-===================================================================
---- trunk.orig/plugins/common/RESTSupport.vala
-+++ trunk/plugins/common/RESTSupport.vala
-@@ -20,6 +20,7 @@ public abstract class Session {
- public Session(string? endpoint_url = null) {
- this.endpoint_url = endpoint_url;
- soup_session = new Soup.SessionAsync();
-+ this.soup_session.ssl_use_system_ca_file = true;
- }
-
- protected void notify_wire_message_unqueued(Soup.Message message) {
-Index: trunk/plugins/shotwell-publishing/FacebookPublishing.vala
-===================================================================
---- trunk.orig/plugins/shotwell-publishing/FacebookPublishing.vala
-+++ trunk/plugins/shotwell-publishing/FacebookPublishing.vala
-@@ -1473,6 +1473,7 @@ internal class GraphSession {
- this.soup_session.timeout = 15;
- this.access_token = null;
- this.current_message = null;
-+ this.soup_session.ssl_use_system_ca_file = true;
- }
-
- ~GraphSession() {