Honor the "Forever" option when accepting ssl certificates.

pull/16/head
Francois Andriot 12 years ago committed by Darrell Anderson
parent b61f0c4777
commit 5975b91a25

@ -853,10 +853,12 @@ int TCPSlaveBase::verifyCertificate()
permacache = d->cc->isPermanent(pc); permacache = d->cc->isPermanent(pc);
} }
/*
if (!_IPmatchesCN && cp == KSSLCertificateCache::Accept) { if (!_IPmatchesCN && cp == KSSLCertificateCache::Accept) {
cp = KSSLCertificateCache::Prompt; cp = KSSLCertificateCache::Prompt;
// ksv = KSSLCertificate::Ok; // ksv = KSSLCertificate::Ok;
} }
*/
// Precondition: cp is one of Reject, Accept or Prompt // Precondition: cp is one of Reject, Accept or Prompt
switch (cp) { switch (cp) {

Loading…
Cancel
Save