mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-23 00:47:31 +09:00
Update NSS to 3.36.4-RTM
This commit is contained in:
parent
099459dec0
commit
fe96962962
148 changed files with 5550 additions and 5825 deletions
|
|
@ -180,9 +180,8 @@ TEST_P(TlsConnectGenericPre13, OcspMangled) {
|
|||
server_->ConfigServerCert(TlsAgent::kServerRsa, true, &kOcspExtraData));
|
||||
|
||||
static const uint8_t val[] = {1};
|
||||
auto replacer = std::make_shared<TlsExtensionReplacer>(
|
||||
ssl_cert_status_xtn, DataBuffer(val, sizeof(val)));
|
||||
server_->SetPacketFilter(replacer);
|
||||
auto replacer = MakeTlsFilter<TlsExtensionReplacer>(
|
||||
server_, ssl_cert_status_xtn, DataBuffer(val, sizeof(val)));
|
||||
ConnectExpectAlert(client_, kTlsAlertIllegalParameter);
|
||||
client_->CheckErrorCode(SSL_ERROR_RX_MALFORMED_SERVER_HELLO);
|
||||
server_->CheckErrorCode(SSL_ERROR_ILLEGAL_PARAMETER_ALERT);
|
||||
|
|
@ -192,8 +191,7 @@ TEST_P(TlsConnectGeneric, OcspSuccess) {
|
|||
EnsureTlsSetup();
|
||||
client_->SetOption(SSL_ENABLE_OCSP_STAPLING, PR_TRUE);
|
||||
auto capture_ocsp =
|
||||
std::make_shared<TlsExtensionCapture>(ssl_cert_status_xtn);
|
||||
server_->SetPacketFilter(capture_ocsp);
|
||||
MakeTlsFilter<TlsExtensionCapture>(server_, ssl_cert_status_xtn);
|
||||
|
||||
// The value should be available during the AuthCertificateCallback
|
||||
client_->SetAuthCertificateCallback([](TlsAgent* agent, bool checksig,
|
||||
|
|
@ -245,4 +243,4 @@ TEST_P(TlsConnectGeneric, OcspHugeSuccess) {
|
|||
Connect();
|
||||
}
|
||||
|
||||
} // namespace nspr_test
|
||||
} // namespace nss_test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue