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

Unified Diff: net/quic/core/crypto/channel_id.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 | « no previous file | net/tools/quic/test_tools/quic_test_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/crypto/channel_id.cc
diff --git a/net/quic/core/crypto/channel_id.cc b/net/quic/core/crypto/channel_id.cc
index 6588c4ed85f6842571df81f85ab91455fd7e465d..abc0ae5bfaaaa5d0aacd2df964c402c0c7eaa39b 100644
--- a/net/quic/core/crypto/channel_id.cc
+++ b/net/quic/core/crypto/channel_id.cc
@@ -61,7 +61,7 @@ bool ChannelIDVerifier::VerifyRaw(StringPiece key,
}
bssl::UniquePtr<EC_POINT> point(EC_POINT_new(p256.get()));
- if (!point ||
+ if (point.get() == nullptr ||
!EC_POINT_set_affine_coordinates_GFp(p256.get(), point.get(), x.get(),
y.get(), nullptr)) {
return false;
« no previous file with comments | « no previous file | net/tools/quic/test_tools/quic_test_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698