diff options
author | Francois Andriot <> | 2013-03-02 18:54:17 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-03-04 02:54:16 +0100 |
commit | 9a034a7c47cc503777d92c0a012e4d566e7cdb80 (patch) | |
tree | 3c9944ac87afaeb76cdf2027268b4acc1f28d987 /kio | |
parent | 41fc569e816a45ac34607684ccd77aa9eb3430fd (diff) | |
download | tdelibs-9a034a7c47cc503777d92c0a012e4d566e7cdb80.tar.gz tdelibs-9a034a7c47cc503777d92c0a012e4d566e7cdb80.zip |
Honor the "Forever" option when accepting ssl certificates.
(cherry picked from commit 5975b91a25006fa4aa7aad765caa71ba4f9cd0c0)
Diffstat (limited to 'kio')
-rw-r--r-- | kio/kio/tcpslavebase.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kio/kio/tcpslavebase.cpp b/kio/kio/tcpslavebase.cpp index 78093577d..785975b02 100644 --- a/kio/kio/tcpslavebase.cpp +++ b/kio/kio/tcpslavebase.cpp @@ -853,10 +853,12 @@ int TCPSlaveBase::verifyCertificate() 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) { |