Lines Matching refs:cert2
1419 bssl::UniquePtr<X509> cert2 = GetChainTestCertificate(); in TEST() local
1420 ASSERT_TRUE(cert1 && cert2); in TEST()
1422 X509_NAME *name2 = X509_get_subject_name(cert2.get()); in TEST()
1427 ASSERT_TRUE(SSL_add_client_CA(ssl.get(), cert2.get())); in TEST()
2595 bssl::UniquePtr<X509> cert2 = GetECDSATestCertificate(); in TEST_P() local
2596 ASSERT_TRUE(cert2); in TEST_P()
2608 ASSERT_TRUE(SSL_CTX_use_certificate(server_ctx2.get(), cert2.get())); in TEST_P()
2632 EXPECT_EQ(X509_cmp(peer.get(), cert2.get()), 0); in TEST_P()
3234 X509 *cert2 = SSL_CTX_get0_certificate(ctx.get()); in TEST() local
3235 ASSERT_TRUE(cert2); in TEST()
3240 EXPECT_EQ(0, X509_cmp(cert.get(), cert2)); in TEST()
3249 long der2_len = i2d_X509(cert2, &der2); in TEST()
4737 X509 *cert2 = SSL_CTX_get0_certificate(ctx.get()); in TEST() local
4740 EXPECT_EQ(cert2, cert2_thread); in TEST()
4741 EXPECT_EQ(0, X509_cmp(cert.get(), cert2)); in TEST()