OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "net/quic/crypto/common_cert_set.h" | 5 #include "net/quic/core/crypto/common_cert_set.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
10 | 10 |
11 using base::StringPiece; | 11 using base::StringPiece; |
12 | 12 |
13 namespace net { | 13 namespace net { |
14 namespace test { | 14 namespace test { |
15 | 15 |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 uint64_t hash; | 237 uint64_t hash; |
238 uint32_t index; | 238 uint32_t index; |
239 EXPECT_FALSE(sets->MatchCert( | 239 EXPECT_FALSE(sets->MatchCert( |
240 not_a_cert, | 240 not_a_cert, |
241 StringPiece(reinterpret_cast<const char*>(&in_hash), sizeof(in_hash)), | 241 StringPiece(reinterpret_cast<const char*>(&in_hash), sizeof(in_hash)), |
242 &hash, &index)); | 242 &hash, &index)); |
243 } | 243 } |
244 | 244 |
245 } // namespace test | 245 } // namespace test |
246 } // namespace net | 246 } // namespace net |
OLD | NEW |