Make secp256k1_{fe,ge,gej}_verify work as no-op if non-VERIFY
This commit is contained in:
@@ -143,9 +143,7 @@ static void secp256k1_fe_get_bounds(secp256k1_fe *r, int m);
|
||||
/** Determine whether a is a square (modulo p). */
|
||||
static int secp256k1_fe_is_square_var(const secp256k1_fe *a);
|
||||
|
||||
#ifdef VERIFY
|
||||
/** Check invariants on a field element. */
|
||||
/** Check invariants on a field element (no-op unless VERIFY is enabled). */
|
||||
static void secp256k1_fe_verify(const secp256k1_fe *a);
|
||||
#endif
|
||||
|
||||
#endif /* SECP256K1_FIELD_H */
|
||||
|
||||
Reference in New Issue
Block a user