qtls_schannel: avoid implicit detach
by const method usage Change-Id: I27863d691c228275fc795dfcfbcbcd11e438abc9 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>bb10
parent
bf06af559c
commit
8e88797b36
|
|
@ -2562,7 +2562,7 @@ bool TlsCryptographSchannel::verifyCertContext(CERT_CONTEXT *certContext)
|
|||
}
|
||||
|
||||
if (!peerCertificateChain.isEmpty())
|
||||
QTlsBackend::storePeerCertificate(d, peerCertificateChain.first());
|
||||
QTlsBackend::storePeerCertificate(d, peerCertificateChain.constFirst());
|
||||
|
||||
const auto &configuration = q->sslConfiguration(); // Probably, updated by QTlsBackend::storePeerCertificate etc.
|
||||
// @Note: Somewhat copied from qsslsocket_mac.cpp
|
||||
|
|
|
|||
Loading…
Reference in New Issue