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

pull/27556/head
Francisco de Borja Aranda Castillejo 1 year ago committed by GitHub
parent 699243f8ae
commit 942ba4ddaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      crypto/secp256k1/secp256.go

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

Loading…
Cancel
Save