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; |