diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 02:30:12 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 02:30:12 +0000 |
commit | ac282b5848d90db100955fee6ce47745f67e0f40 (patch) | |
tree | a7f1cb23c9be53cc524781feccc0ad1f5a59ab97 /security/manager/ssl/NSSSocketControl.cpp | |
parent | Releasing progress-linux version 115.8.0esr-1~progress7.99u1. (diff) | |
download | firefox-esr-ac282b5848d90db100955fee6ce47745f67e0f40.tar.xz firefox-esr-ac282b5848d90db100955fee6ce47745f67e0f40.zip |
Merging upstream version 115.9.0esr.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | security/manager/ssl/NSSSocketControl.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/security/manager/ssl/NSSSocketControl.cpp b/security/manager/ssl/NSSSocketControl.cpp index eaeae754a6..bb88e7d673 100644 --- a/security/manager/ssl/NSSSocketControl.cpp +++ b/security/manager/ssl/NSSSocketControl.cpp @@ -382,7 +382,15 @@ void NSSSocketControl::SetCertVerificationResult(PRErrorCode errorCode) { AssertedCast<uint32_t>(mPlaintextBytesRead)); } + MOZ_LOG(gPIPNSSLog, LogLevel::Debug, + ("[%p] SetCertVerificationResult to AfterCertVerification, " + "mTlsHandshakeCallback=%p", + (void*)mFd, mTlsHandshakeCallback.get())); + mCertVerificationState = AfterCertVerification; + if (mTlsHandshakeCallback) { + Unused << mTlsHandshakeCallback->CertVerificationDone(); + } } void NSSSocketControl::ClientAuthCertificateSelected( @@ -434,6 +442,13 @@ void NSSSocketControl::ClientAuthCertificateSelected( mFd, sendingClientAuthCert ? SECSuccess : SECFailure, sendingClientAuthCert ? key.release() : nullptr, sendingClientAuthCert ? cert.release() : nullptr); + + MOZ_LOG(gPIPNSSLog, LogLevel::Debug, + ("[%p] ClientAuthCertificateSelected mTlsHandshakeCallback=%p", + (void*)mFd, mTlsHandshakeCallback.get())); + if (mTlsHandshakeCallback) { + Unused << mTlsHandshakeCallback->ClientAuthCertificateSelected(); + } } SharedSSLState& NSSSocketControl::SharedState() { |