QSslSocket - replace NULL with nullptr
Change-Id: I3af7747f424ef7837c9c3d4af3e5cbd14922aeb6 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>bb10
parent
12ef5a7344
commit
4c251ac224
|
|
@ -139,7 +139,7 @@ QList<QSslCertificate> QSslSocketPrivate::systemCaCertificates()
|
|||
SecCertificateRef cfCert = (SecCertificateRef)CFArrayGetValueAtIndex(cfCerts, i);
|
||||
QCFType<CFDataRef> derData = SecCertificateCopyData(cfCert);
|
||||
if (isCaCertificateTrusted(cfCert, dom)) {
|
||||
if (derData == NULL) {
|
||||
if (derData == nullptr) {
|
||||
qCWarning(lcSsl, "Error retrieving a CA certificate from the system store");
|
||||
} else {
|
||||
systemCerts << QSslCertificate(QByteArray::fromCFData(derData), QSsl::Der);
|
||||
|
|
|
|||
Loading…
Reference in New Issue