summaryrefslogtreecommitdiffstats
path: root/redhat/tdelibs/kdelibs-3.5.13.1-disable_invalid_certificate_always_prompt.patch
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/tdelibs/kdelibs-3.5.13.1-disable_invalid_certificate_always_prompt.patch')
-rw-r--r--redhat/tdelibs/kdelibs-3.5.13.1-disable_invalid_certificate_always_prompt.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/redhat/tdelibs/kdelibs-3.5.13.1-disable_invalid_certificate_always_prompt.patch b/redhat/tdelibs/kdelibs-3.5.13.1-disable_invalid_certificate_always_prompt.patch
new file mode 100644
index 000000000..72346c83b
--- /dev/null
+++ b/redhat/tdelibs/kdelibs-3.5.13.1-disable_invalid_certificate_always_prompt.patch
@@ -0,0 +1,15 @@
+--- kdelibs-3.5.13.1/kio/kio/tcpslavebase.cpp.ORI 2012-12-29 11:25:06.736204632 +0100
++++ kdelibs-3.5.13.1/kio/kio/tcpslavebase.cpp 2012-12-29 11:25:32.731669416 +0100
+@@ -853,10 +853,12 @@
+ permacache = d->cc->isPermanent(pc);
+ }
+
++/*
+ if (!_IPmatchesCN && cp == KSSLCertificateCache::Accept) {
+ cp = KSSLCertificateCache::Prompt;
+ // ksv = KSSLCertificate::Ok;
+ }
++*/
+
+ // Precondition: cp is one of Reject, Accept or Prompt
+ switch (cp) {