@@ -56,12 +56,11 @@ class ServerProtocolTest : public ProtocolTest<ServerTypes, Actions> {
5656 context_->setClock (clock_);
5757
5858 ON_CALL (*certManager_, getCert (_, _, _, _))
59- .WillByDefault (Return (
60- CertManager::CertMatch (
61- CertManager::CertMatchStruct{
62- cert_,
63- SignatureScheme::ecdsa_secp256r1_sha256,
64- CertManager::MatchType::Direct})));
59+ .WillByDefault (Return (CertMatch (
60+ CertMatchStruct{
61+ cert_,
62+ SignatureScheme::ecdsa_secp256r1_sha256,
63+ MatchType::Direct})));
6564 ON_CALL (*certManager_, getCert (_)).WillByDefault (Return (cert_));
6665
6766 ON_CALL (*clock_, getCurrentTime ())
@@ -745,11 +744,11 @@ TEST_F(ServerProtocolTest, TestClientHelloFullHandshakeFlow) {
745744 serverNameList->server_name_list .front ()
746745 .hostname ->to <std::string>(),
747746 " www.hostname.com" );
748- return CertManager:: CertMatch (
749- CertManager:: CertMatchStruct{
747+ return CertMatch (
748+ CertMatchStruct{
750749 cert_,
751750 SignatureScheme::ecdsa_secp256r1_sha256,
752- CertManager:: MatchType::Direct});
751+ MatchType::Direct});
753752 }));
754753 EXPECT_CALL (*cert_, _getCertMessage (_));
755754 EXPECT_CALL (*mockHandshakeContext_, appendToTranscript (_))
@@ -1027,11 +1026,11 @@ TEST_F(ServerProtocolTest, TestClientHelloCompressedCertFlow) {
10271026 serverNameList->server_name_list .front ()
10281027 .hostname ->to <std::string>(),
10291028 " www.hostname.com" );
1030- return CertManager:: CertMatch (
1031- CertManager:: CertMatchStruct{
1029+ return CertMatch (
1030+ CertMatchStruct{
10321031 cert_,
10331032 SignatureScheme::ecdsa_secp256r1_sha256,
1034- CertManager:: MatchType::Direct});
1033+ MatchType::Direct});
10351034 }));
10361035 context_->setSupportedCompressionAlgorithms (
10371036 {CertificateCompressionAlgorithm::zlib});
@@ -1369,11 +1368,11 @@ TEST_F(ServerProtocolTest, TestECHDecryptionSuccess) {
13691368 serverNameList->server_name_list .front ()
13701369 .hostname ->to <std::string>(),
13711370 " www.hostname.com" );
1372- return CertManager:: CertMatch (
1373- CertManager:: CertMatchStruct{
1371+ return CertMatch (
1372+ CertMatchStruct{
13741373 cert_,
13751374 SignatureScheme::ecdsa_secp256r1_sha256,
1376- CertManager:: MatchType::Direct});
1375+ MatchType::Direct});
13771376 }));
13781377 EXPECT_CALL (*cert_, _getCertMessage (_));
13791378 EXPECT_CALL (*mockHandshakeContext_, appendToTranscript (_))
@@ -1708,11 +1707,11 @@ TEST_F(ServerProtocolTest, TestECHDecryptionFailure) {
17081707 serverNameList->server_name_list .front ()
17091708 .hostname ->to <std::string>(),
17101709 " www.fakehostname.com" );
1711- return CertManager:: CertMatch (
1712- CertManager:: CertMatchStruct{
1710+ return CertMatch (
1711+ CertMatchStruct{
17131712 cert_,
17141713 SignatureScheme::ecdsa_secp256r1_sha256,
1715- CertManager:: MatchType::Direct});
1714+ MatchType::Direct});
17161715 }));
17171716 EXPECT_CALL (*cert_, _getCertMessage (_));
17181717 EXPECT_CALL (*mockHandshakeContext_, appendToTranscript (_))
@@ -1994,11 +1993,11 @@ TEST_F(ServerProtocolTest, TestClientHelloCertRequestFlow) {
19941993 serverNameList->server_name_list .front ()
19951994 .hostname ->to <std::string>(),
19961995 " www.hostname.com" );
1997- return CertManager:: CertMatch (
1998- CertManager:: CertMatchStruct{
1996+ return CertMatch (
1997+ CertMatchStruct{
19991998 cert_,
20001999 SignatureScheme::ecdsa_secp256r1_sha256,
2001- CertManager:: MatchType::Direct});
2000+ MatchType::Direct});
20022001 }));
20032002 EXPECT_CALL (*cert_, _getCertMessage (_));
20042003 EXPECT_CALL (*mockHandshakeContext_, appendToTranscript (_))
@@ -2801,11 +2800,11 @@ TEST_F(ServerProtocolTest, TestRetryClientHelloFullHandshakeFlow) {
28012800 serverNameList->server_name_list .front ()
28022801 .hostname ->to <std::string>(),
28032802 " www.hostname.com" );
2804- return CertManager:: CertMatch (
2805- CertManager:: CertMatchStruct{
2803+ return CertMatch (
2804+ CertMatchStruct{
28062805 cert_,
28072806 SignatureScheme::ecdsa_secp256r1_sha256,
2808- CertManager:: MatchType::Direct});
2807+ MatchType::Direct});
28092808 }));
28102809 EXPECT_CALL (*cert_, _getCertMessage (_));
28112810 EXPECT_CALL (*mockHandshakeContext_, appendToTranscript (_))
@@ -3340,11 +3339,11 @@ TEST_F(ServerProtocolTest, TestRetryClientHelloECHFlow) {
33403339 serverNameList->server_name_list .front ()
33413340 .hostname ->to <std::string>(),
33423341 " www.hostname.com" );
3343- return CertManager:: CertMatch (
3344- CertManager:: CertMatchStruct{
3342+ return CertMatch (
3343+ CertMatchStruct{
33453344 cert_,
33463345 SignatureScheme::ecdsa_secp256r1_sha256,
3347- CertManager:: MatchType::Direct});
3346+ MatchType::Direct});
33483347 }));
33493348 EXPECT_CALL (*cert_, _getCertMessage (_));
33503349 EXPECT_CALL (*mockHandshakeContext_, appendToTranscript (_))
@@ -3634,11 +3633,11 @@ TEST_F(ServerProtocolTest, TestRetryClientHelloECHRejectedFlow) {
36343633 serverNameList->server_name_list .front ()
36353634 .hostname ->to <std::string>(),
36363635 " www.fakehostname.com" );
3637- return CertManager:: CertMatch (
3638- CertManager:: CertMatchStruct{
3636+ return CertMatch (
3637+ CertMatchStruct{
36393638 cert_,
36403639 SignatureScheme::ecdsa_secp256r1_sha256,
3641- CertManager:: MatchType::Direct});
3640+ MatchType::Direct});
36423641 }));
36433642 EXPECT_CALL (*cert_, _getCertMessage (_));
36443643 EXPECT_CALL (*mockHandshakeContext_, appendToTranscript (_))
0 commit comments