File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,9 @@ if(SECP256K1_ENABLE_MODULE_ELLSWIFT)
6767endif ()
6868
6969if (SECP256K1_ENABLE_MODULE_SCHNORRSIG)
70+ if (DEFINED SECP256K1_ENABLE_MODULE_EXTRAKEYS AND NOT SECP256K1_ENABLE_MODULE_EXTRAKEYS)
71+ message (FATAL_ERROR "schnorrsig module requires explicitly disabled extrakeys module." )
72+ endif ()
7073 set (SECP256K1_ENABLE_MODULE_EXTRAKEYS ON )
7174 add_compile_definitions (ENABLE_MODULE_SCHNORRSIG=1)
7275endif ()
Original file line number Diff line number Diff line change @@ -393,6 +393,9 @@ if test x"$enable_module_ellswift" = x"yes"; then
393393fi
394394
395395if test x"$enable_module_schnorrsig" = x"yes"; then
396+ if test x"$enable_module_extrakeys" = x"no"; then
397+ AC_MSG_ERROR ( "schnorrsig module requires explicitly disabled extrakeys module." )
398+ fi
396399 enable_module_extrakeys=yes
397400 SECP_CONFIG_DEFINES="$SECP_CONFIG_DEFINES -DENABLE_MODULE_SCHNORRSIG=1"
398401fi
You can’t perform that action at this time.
0 commit comments