summaryrefslogtreecommitdiffstats
path: root/security/manager/ssl/NSSSocketControl.cpp
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-08 15:18:54 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-08 15:18:54 +0000
commita5f28e22cc28ca53d092f6545bc924ee43a8bbe4 (patch)
tree7e02d01734d97de08bdeed66d2d5185f8e4f0a61 /security/manager/ssl/NSSSocketControl.cpp
parentReleasing progress-linux version 115.8.0esr-1~deb12u1progress7u1. (diff)
downloadfirefox-esr-a5f28e22cc28ca53d092f6545bc924ee43a8bbe4.tar.xz
firefox-esr-a5f28e22cc28ca53d092f6545bc924ee43a8bbe4.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.cpp15
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() {