Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Unified Diff: net/tools/quic/test_tools/quic_test_client.cc

Issue 2451433002: Change scoped_ptr_openssl_void (et al.) → bssl::UniquePtr (Closed)
Patch Set: rebase-update Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/core/crypto/channel_id.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/test_tools/quic_test_client.cc
diff --git a/net/tools/quic/test_tools/quic_test_client.cc b/net/tools/quic/test_tools/quic_test_client.cc
index aade9aaa33ab56dfc2628e7bb293e7d663ecdc3b..e5e6448f9de45037dd320a94a2cd4518738fd772 100644
--- a/net/tools/quic/test_tools/quic_test_client.cc
+++ b/net/tools/quic/test_tools/quic_test_client.cc
@@ -82,8 +82,7 @@ class RecordingProofVerifier : public ProofVerifier {
// TODO(rtenneti): Fix after adding support for real certs. Currently,
// cert_pieces are "leaf" and "intermediate" and CreateFromDERCertChain
// fails to return cert from these cert_pieces.
- // scoped_refptr<net::X509Certificate> cert =
- // net::X509Certificate::CreateFromDERCertChain(cert_pieces);
+ // bssl::UniquePtr<X509> cert(d2i_X509(nullptr, &data, certs[0].size()));
// if (!cert.get()) {
// return QUIC_FAILURE;
// }
« no previous file with comments | « net/quic/core/crypto/channel_id.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698