diff options
Diffstat (limited to 'application')
-rw-r--r-- | application/CertWorkaround.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/application/CertWorkaround.cpp b/application/CertWorkaround.cpp index fcfa34ea..3bd1b16e 100644 --- a/application/CertWorkaround.cpp +++ b/application/CertWorkaround.cpp @@ -3,6 +3,7 @@ #include <QByteArray> #include <QSslSocket> +#include <QDebug> #include <Security/Security.h> @@ -75,8 +76,7 @@ LoadCertificatesFromKeyChain(const std::string &keyChainPath = std::string()) qDebug() << "COMMON NAME: " << qtCert.issuerInfo(QSslCertificate::CommonName).join('\n') << " ORG NAME: " - << qtCert.issuerInfo(QSslCertificate::Organization).join('\n') - << std::endl; + << qtCert.issuerInfo(QSslCertificate::Organization).join('\n'); qtCerts << qtCert; } @@ -112,10 +112,9 @@ void RebuildQtCertificates() qDebug() << "COMMON NAME: " << qtCert.issuerInfo(QSslCertificate::CommonName).join('\n') << " ORG NAME: " - << qtCert.issuerInfo(QSslCertificate::Organization).join('\n') - << std::endl; + << qtCert.issuerInfo(QSslCertificate::Organization).join('\n'); QSslSocket::addDefaultCaCertificate(qtCert); } } -}
\ No newline at end of file +} |