From 6583a74aea0f27f7076a2459f1173883f40ef839 Mon Sep 17 00:00:00 2001 From: Russell O'Connor Date: Fri, 24 Feb 2023 17:34:01 -0500 Subject: [PATCH] Patch simplicity/secp256k1 This can be eliminated when upstream Simplicity updates its secp256k1 library and incorporates . --- src/simplicity/secp256k1/field_5x52_impl.h | 4 ---- src/simplicity/secp256k1/modinv32.h | 4 ---- src/simplicity/secp256k1/modinv64.h | 4 ---- 3 files changed, 12 deletions(-) diff --git a/src/simplicity/secp256k1/field_5x52_impl.h b/src/simplicity/secp256k1/field_5x52_impl.h index 3619e96094d..496604b9f1a 100644 --- a/src/simplicity/secp256k1/field_5x52_impl.h +++ b/src/simplicity/secp256k1/field_5x52_impl.h @@ -7,10 +7,6 @@ #ifndef SECP256K1_FIELD_REPR_IMPL_H #define SECP256K1_FIELD_REPR_IMPL_H -#if defined HAVE_CONFIG_H -#include "libsecp256k1-config.h" -#endif - #include "util.h" #include "field.h" #include "modinv64_impl.h" diff --git a/src/simplicity/secp256k1/modinv32.h b/src/simplicity/secp256k1/modinv32.h index 5dab23e7583..3790fae6e39 100644 --- a/src/simplicity/secp256k1/modinv32.h +++ b/src/simplicity/secp256k1/modinv32.h @@ -7,10 +7,6 @@ #ifndef SECP256K1_MODINV32_H #define SECP256K1_MODINV32_H -#if defined HAVE_CONFIG_H -#include "libsecp256k1-config.h" -#endif - #include "util.h" /* A signed 30-bit limb representation of integers. diff --git a/src/simplicity/secp256k1/modinv64.h b/src/simplicity/secp256k1/modinv64.h index 1d5974901e2..6f078529e2c 100644 --- a/src/simplicity/secp256k1/modinv64.h +++ b/src/simplicity/secp256k1/modinv64.h @@ -7,10 +7,6 @@ #ifndef SECP256K1_MODINV64_H #define SECP256K1_MODINV64_H -#if defined HAVE_CONFIG_H -#include "libsecp256k1-config.h" -#endif - #include "util.h" #ifndef SECP256K1_WIDEMUL_INT128