From: Konrad Rosenbaum Date: Mon, 23 Jul 2012 06:57:55 +0000 (+0200) Subject: fix: ignore SSL NoError; X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=24da0f41e07b9cce6e7ad0173546db08547049eb;p=web%2Fkonrad%2Fsmoke.git fix: ignore SSL NoError; show smoke data path in about box --- diff --git a/src/iface/sslexception.cpp b/src/iface/sslexception.cpp index 80457fc..6b8340e 100644 --- a/src/iface/sslexception.cpp +++ b/src/iface/sslexception.cpp @@ -38,6 +38,7 @@ MSslExceptions::MSslExceptions(QString p) QSslCertificate c(el.text().toAscii()); if(c.isNull())continue; sslexcept.append(QPair(c,e)); + qDebug()<<"Note: will ignore SSL exception of type"<&errs) { //stage 1: record unknown exceptions for(int i=0;ip(errs[i].certificate(),errs[i].error()); bool known=false; for(int j=0;j&errs) } //stage 2: compare to acceptable exceptions for(int i=0;ip(errs[i].certificate(),errs[i].error()); bool known=false; for(int j=0;j&errs) break; } } - if(!known)return false; + if(!known){ + qDebug()<<"Ooops! Non-ignored SSL exception of type"<<(int)errs[i].error()<<"certificate\n"<MagicSmoke v. %1" "© Konrad Rosenbaum, 2007-2011
" "© Peter Keller, 2007-2008
" "protected under the GNU GPL v.3 or at your option any newer

" "See also the MagicSmoke Homepage.

" - "This version was compiled from repository '%3' revision '%4'.") + "This version was compiled from repository '%3' revision '%4'.

" + "The current application data base path is '%5'.") .arg(MSInterface::staticVersionInfo(WOb::VersionHR)) //%1 .arg(HOMEPAGE_BASEURL) //%2 .arg(MSInterface::staticVersionInfo(WOb::VersionRootURL)) //%3 .arg(MSInterface::staticVersionInfo(WOb::VersionNumber)) //%4 + .arg(ifc?ifc->dataDir(): ::dataDir) ); mb.setStandardButtons(QMessageBox::Ok); mb.exec();