crypto/secp256k1: define NDEBUG only if not defined (#27550)

This commit is contained in:
Francisco de Borja Aranda Castillejo 2023-06-23 19:02:05 +02:00 committed by GitHub
parent 699243f8ae
commit 942ba4ddaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -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"