diff options
Diffstat (limited to 'src/lib/pubkey/ec_group/point_gfp.h')
-rw-r--r-- | src/lib/pubkey/ec_group/point_gfp.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/pubkey/ec_group/point_gfp.h b/src/lib/pubkey/ec_group/point_gfp.h index 222b5f474..aa8a7d7bc 100644 --- a/src/lib/pubkey/ec_group/point_gfp.h +++ b/src/lib/pubkey/ec_group/point_gfp.h @@ -180,8 +180,7 @@ class BOTAN_PUBLIC_API(2,0) PointGFp final * Is this the point at infinity? * @result true, if this point is at infinity, false otherwise. */ - bool is_zero() const - { return (m_coord_x.is_zero() && m_coord_z.is_zero()); } + bool is_zero() const { return m_coord_z.is_zero(); } /** * Checks whether the point is to be found on the underlying |