diff options
author | Kai Koehne <kai.koehne@theqtcompany.com> | 2014-12-08 13:35:47 +0100 |
---|---|---|
committer | Kai Koehne <kai.koehne@theqtcompany.com> | 2014-12-10 11:07:46 +0100 |
commit | f17d7a124f0fa817a7e1a2dda6f48098432c0dc0 (patch) | |
tree | ac5b4e3713af87a82add0cebc5a6628997435ed2 /src/network/ssl/qsslcertificate_qt.cpp | |
parent | 7d2357b0a8911191451fd89279ba30e5fd6ccb84 (diff) |
Use categorized logging for ssl code
Place all debug output into the 'qt.network.ssl' category.
This allows people to disable certain warnings at runtime.
Task-number: QTBUG-43173
Change-Id: Ide731fae3109f9cd7730cc096ee069a5b99d35f1
Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'src/network/ssl/qsslcertificate_qt.cpp')
-rw-r--r-- | src/network/ssl/qsslcertificate_qt.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/network/ssl/qsslcertificate_qt.cpp b/src/network/ssl/qsslcertificate_qt.cpp index d74042a95f..cf99e77314 100644 --- a/src/network/ssl/qsslcertificate_qt.cpp +++ b/src/network/ssl/qsslcertificate_qt.cpp @@ -40,7 +40,7 @@ ****************************************************************************/ - +#include "qssl_p.h" #include "qsslcertificate.h" #include "qsslcertificate_p.h" #include "qsslkey.h" @@ -83,8 +83,9 @@ bool QSslCertificate::isSelfSigned() const if (d->null) return false; - qWarning("QSslCertificate::isSelfSigned: This function does not check, whether the certificate " - "is actually signed. It just checks whether issuer and subject are identical"); + qCWarning(lcSsl, + "QSslCertificate::isSelfSigned: This function does not check, whether the certificate " + "is actually signed. It just checks whether issuer and subject are identical"); return d->subjectMatchesIssuer; } |