From 5975b91a25006fa4aa7aad765caa71ba4f9cd0c0 Mon Sep 17 00:00:00 2001 From: Francois Andriot <> Date: Sat, 2 Mar 2013 18:54:17 -0600 Subject: [PATCH] Honor the "Forever" option when accepting ssl certificates. --- tdeio/tdeio/tcpslavebase.cpp | 2 ++ 1 file changed, 2 insertions(+) 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) {