mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-05 07:42:57 +00:00
crypto/secp256k1: define NDEBUG only if not defined (#27550)
This commit is contained in:
parent
699243f8ae
commit
942ba4ddaa
1 changed files with 4 additions and 1 deletions
|
|
@ -21,11 +21,14 @@ package secp256k1
|
||||||
# define USE_SCALAR_8X32
|
# define USE_SCALAR_8X32
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef NDEBUG
|
||||||
|
# define NDEBUG
|
||||||
|
#endif
|
||||||
|
|
||||||
#define USE_ENDOMORPHISM
|
#define USE_ENDOMORPHISM
|
||||||
#define USE_NUM_NONE
|
#define USE_NUM_NONE
|
||||||
#define USE_FIELD_INV_BUILTIN
|
#define USE_FIELD_INV_BUILTIN
|
||||||
#define USE_SCALAR_INV_BUILTIN
|
#define USE_SCALAR_INV_BUILTIN
|
||||||
#define NDEBUG
|
|
||||||
#include "./libsecp256k1/src/secp256k1.c"
|
#include "./libsecp256k1/src/secp256k1.c"
|
||||||
#include "./libsecp256k1/src/modules/recovery/main_impl.h"
|
#include "./libsecp256k1/src/modules/recovery/main_impl.h"
|
||||||
#include "ext.h"
|
#include "ext.h"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue