diff --git a/secp256k1_wrapper/gen.sh b/secp256k1_wrapper/gen.sh index 4857169..3e2c09e 100755 --- a/secp256k1_wrapper/gen.sh +++ b/secp256k1_wrapper/gen.sh @@ -5,7 +5,7 @@ set -e THIS_DIR=$(dirname "$0") cd $THIS_DIR/secp256k1 ./autogen.sh -./configure --enable-module-ecdh --enable-module-recovery --enable-experimental +./configure --enable-module-ecdh --enable-module-recovery --enable-module-extrakeys --enable-module-schnorrsig --enable-experimental make src/ecmult_static_context.h cd - diff --git a/secp256k1_wrapper/libsecp256k1-config.h b/secp256k1_wrapper/libsecp256k1-config.h index 9e5b63f..f5db934 100644 --- a/secp256k1_wrapper/libsecp256k1-config.h +++ b/secp256k1_wrapper/libsecp256k1-config.h @@ -18,13 +18,13 @@ #define ENABLE_MODULE_ECDH 1 /* Define this symbol to enable the extrakeys module */ -/* #undef ENABLE_MODULE_EXTRAKEYS */ +#define ENABLE_MODULE_EXTRAKEYS 1 /* Define this symbol to enable the ECDSA pubkey recovery module */ #define ENABLE_MODULE_RECOVERY 1 /* Define this symbol to enable the schnorrsig module */ -/* #undef ENABLE_MODULE_SCHNORRSIG */ +#define ENABLE_MODULE_SCHNORRSIG 1 /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1