mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-22 16:37:31 +09:00
Revert "Update NSS to 3.35-RTM"
This reverts commit f1a0f0a56fdd0fc39f255174ce08c06b91c66c94.
This commit is contained in:
parent
5f958910dd
commit
9e32522120
388 changed files with 24887 additions and 43210 deletions
|
|
@ -29,25 +29,7 @@ TEST_P(TlsConnectGeneric, ServerAuthBigRsa) {
|
|||
}
|
||||
|
||||
TEST_P(TlsConnectGeneric, ServerAuthRsaChain) {
|
||||
Reset("rsa_chain");
|
||||
Connect();
|
||||
CheckKeys();
|
||||
size_t chain_length;
|
||||
EXPECT_TRUE(client_->GetPeerChainLength(&chain_length));
|
||||
EXPECT_EQ(2UL, chain_length);
|
||||
}
|
||||
|
||||
TEST_P(TlsConnectGeneric, ServerAuthRsaPssChain) {
|
||||
Reset("rsa_pss_chain");
|
||||
Connect();
|
||||
CheckKeys();
|
||||
size_t chain_length;
|
||||
EXPECT_TRUE(client_->GetPeerChainLength(&chain_length));
|
||||
EXPECT_EQ(2UL, chain_length);
|
||||
}
|
||||
|
||||
TEST_P(TlsConnectGeneric, ServerAuthRsaCARsaPssChain) {
|
||||
Reset("rsa_ca_rsa_pss_chain");
|
||||
Reset(TlsAgent::kServerRsaChain);
|
||||
Connect();
|
||||
CheckKeys();
|
||||
size_t chain_length;
|
||||
|
|
@ -159,11 +141,13 @@ TEST_P(TlsConnectTls12, ClientAuthBigRsaCheckSigAlg) {
|
|||
|
||||
class TlsZeroCertificateRequestSigAlgsFilter : public TlsHandshakeFilter {
|
||||
public:
|
||||
TlsZeroCertificateRequestSigAlgsFilter()
|
||||
: TlsHandshakeFilter({kTlsHandshakeCertificateRequest}) {}
|
||||
virtual PacketFilter::Action FilterHandshake(
|
||||
const TlsHandshakeFilter::HandshakeHeader& header,
|
||||
const DataBuffer& input, DataBuffer* output) {
|
||||
if (header.handshake_type() != kTlsHandshakeCertificateRequest) {
|
||||
return KEEP;
|
||||
}
|
||||
|
||||
TlsParser parser(input);
|
||||
std::cerr << "Zeroing CertReq.supported_signature_algorithms" << std::endl;
|
||||
|
||||
|
|
@ -597,7 +581,8 @@ class EnforceNoActivity : public PacketFilter {
|
|||
TEST_P(TlsConnectGenericPre13, AuthCompleteDelayed) {
|
||||
client_->SetAuthCertificateCallback(AuthCompleteBlock);
|
||||
|
||||
StartConnect();
|
||||
server_->StartConnect();
|
||||
client_->StartConnect();
|
||||
client_->Handshake(); // Send ClientHello
|
||||
server_->Handshake(); // Send ServerHello
|
||||
client_->Handshake(); // Send ClientKeyExchange and Finished
|
||||
|
|
@ -625,7 +610,8 @@ TEST_P(TlsConnectGenericPre13, AuthCompleteDelayed) {
|
|||
TEST_P(TlsConnectTls13, AuthCompleteDelayed) {
|
||||
client_->SetAuthCertificateCallback(AuthCompleteBlock);
|
||||
|
||||
StartConnect();
|
||||
server_->StartConnect();
|
||||
client_->StartConnect();
|
||||
client_->Handshake(); // Send ClientHello
|
||||
server_->Handshake(); // Send ServerHello
|
||||
EXPECT_EQ(TlsAgent::STATE_CONNECTING, client_->state());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue