Skip to content

Commit 44f1d74

Browse files
committed
Merge branch 'wally'
2 parents 6a56406 + f339412 commit 44f1d74

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

external/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ string(REPLACE "-mfpu=fpv4-sp-d16" "" MODIFIED_C_FLAGS ${MODIFIED_C_FLAGS_TMP})
1414
# wally-core
1515

1616
# configure flags for secp256k1 bundled in libwally core, to reduce memory consumption
17-
set(LIBWALLY_SECP256k1_FLAGS --with-ecmult-window=2 --with-ecmult-gen-precision=2 --enable-ecmult-static-precomputation --enable-module-ecdsa-s2c)
17+
set(LIBWALLY_SECP256k1_FLAGS --with-ecmult-window=2 --with-ecmult-gen-precision=2 --enable-ecmult-static-precomputation)
1818
set(LIBWALLY_CONFIGURE_FLAGS --enable-static --disable-shared --disable-tests ${LIBWALLY_SECP256k1_FLAGS})
1919
if(SANITIZE_ADDRESS)
2020
set(LIBWALLY_CFLAGS "-fsanitize=address")

src/common_main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ static void _wally_patched_bzero(void* ptr, size_t len)
6060
static bool _setup_wally(void)
6161
{
6262
static struct wally_operations _ops = {0};
63+
_ops.struct_size = sizeof(struct wally_operations);
6364
if (wally_get_operations(&_ops) != WALLY_OK) {
6465
return false;
6566
}

0 commit comments

Comments
 (0)