Home
last modified time | relevance | path

Searched refs:cached_cert (Results 1 – 2 of 2) sorted by relevance

/external/chromium/net/base/
Dssl_client_auth_cache_unittest.cc31 scoped_refptr<X509Certificate> cached_cert; in TEST() local
33 cached_cert = NULL; in TEST()
34 EXPECT_FALSE(cache.Lookup(server1, &cached_cert)); in TEST()
38 cached_cert = NULL; in TEST()
39 EXPECT_TRUE(cache.Lookup(server1, &cached_cert)); in TEST()
40 EXPECT_EQ(cert1, cached_cert); in TEST()
44 cached_cert = NULL; in TEST()
45 EXPECT_TRUE(cache.Lookup(server1, &cached_cert)); in TEST()
46 EXPECT_EQ(cert1, cached_cert.get()); in TEST()
47 cached_cert = NULL; in TEST()
[all …]
Dx509_certificate.cc166 scoped_refptr<X509Certificate> cached_cert = in CreateFromHandle() local
168 if (cached_cert) { in CreateFromHandle()
169 DCHECK(cached_cert->source_ != SOURCE_UNUSED); in CreateFromHandle()
170 if (cached_cert->source_ > source || in CreateFromHandle()
171 (cached_cert->source_ == source && in CreateFromHandle()
172 cached_cert->HasIntermediateCertificates(intermediates))) { in CreateFromHandle()
175 return cached_cert; in CreateFromHandle()