summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Andriot <>2013-03-02 18:54:17 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2013-03-02 18:54:17 -0600
commit5975b91a25006fa4aa7aad765caa71ba4f9cd0c0 (patch)
tree280156731076cce9bbb3af5e75e3efc2f84ce5a2
parentb61f0c4777f5257179a02e118fa7965917f359fe (diff)
downloadtdelibs-5975b91a25006fa4aa7aad765caa71ba4f9cd0c0.tar.gz
tdelibs-5975b91a25006fa4aa7aad765caa71ba4f9cd0c0.zip
Honor the "Forever" option when accepting ssl certificates.
-rw-r--r--tdeio/tdeio/tcpslavebase.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tdeio/tdeio/tcpslavebase.cpp b/tdeio/tdeio/tcpslavebase.cpp
index a0d9c86cb..9b6b9782e 100644
--- a/tdeio/tdeio/tcpslavebase.cpp
+++ b/tdeio/tdeio/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) {