Searched refs:cached_cert (Results 1 – 2 of 2) sorted by relevance
31 scoped_refptr<X509Certificate> cached_cert; in TEST() local33 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 …]
166 scoped_refptr<X509Certificate> cached_cert = in CreateFromHandle() local168 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()