Skip to content

Commit

Permalink
crypto/secp256k1: define NDEBUG only if not defined (ethereum#27550)
Browse files Browse the repository at this point in the history
  • Loading branch information
fbac authored and devopsbo3 committed Nov 10, 2023
1 parent 7e3ba8b commit 7513a76
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crypto/secp256k1/secp256.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,14 @@ package secp256k1
# define USE_SCALAR_8X32
#endif
#ifndef NDEBUG
# define NDEBUG
#endif
#define USE_ENDOMORPHISM
#define USE_NUM_NONE
#define USE_FIELD_INV_BUILTIN
#define USE_SCALAR_INV_BUILTIN
#define NDEBUG
#include "./libsecp256k1/src/secp256k1.c"
#include "./libsecp256k1/src/modules/recovery/main_impl.h"
#include "ext.h"
Expand Down

0 comments on commit 7513a76

Please sign in to comment.