Fix namespaced build on OSX.

Change-Id: I1fc2195792eeea1addcb262aca37e59107a131c5
Reviewed-by: Jake Petroules <jake.petroules@theqtcompany.com>
This commit is contained in:
Erik Verbruggen 2015-12-16 12:18:35 +01:00 committed by Liang Qi
parent a5a18819d8
commit 44bf45f396

View File

@ -132,7 +132,7 @@ QList<QSslCertificate> QSslSocketPrivate::systemCaCertificates()
for (CFIndex i = 0; i < size; ++i) {
SecCertificateRef cfCert = (SecCertificateRef)CFArrayGetValueAtIndex(cfCerts, i);
QCFType<CFDataRef> derData = SecCertificateCopyData(cfCert);
if (::isCaCertificateTrusted(cfCert, dom)) {
if (QT_PREPEND_NAMESPACE(isCaCertificateTrusted(cfCert, dom))) {
if (derData == NULL) {
qCWarning(lcSsl, "Error retrieving a CA certificate from the system store");
} else {