@@ -205,7 +205,7 @@ AC_ARG_ENABLE(module_surjectionproof,
205
205
AC_ARG_ENABLE ( reduced_surjection_proof_size ,
206
206
AS_HELP_STRING ( [ --enable-reduced-surjection-proof-size] ,[ use reduced surjection proof size (disabling parsing and verification) [ default=no] ] ) ,
207
207
[ ] ,
208
- [ SECP_SET_DEFAULT([ use_reduced_surjection_proof_size ] , [ no] , [ no] )] )
208
+ [ SECP_SET_DEFAULT([ enable_reduced_surjection_proof_size ] , [ no] , [ no] )] )
209
209
210
210
AC_ARG_ENABLE ( module_whitelist ,
211
211
AS_HELP_STRING ( [ --enable-module-whitelist] ,[ enable key whitelisting module [ default=no] ] ) ,
@@ -526,7 +526,7 @@ if test x"$enable_external_default_callbacks" = x"yes"; then
526
526
SECP_CONFIG_DEFINES="$SECP_CONFIG_DEFINES -DUSE_EXTERNAL_DEFAULT_CALLBACKS=1"
527
527
fi
528
528
529
- if test x"$use_reduced_surjection_proof_size " = x"yes"; then
529
+ if test x"$enable_reduced_surjection_proof_size " = x"yes"; then
530
530
SECP_CONFIG_DEFINES="$SECP_CONFIG_DEFINES -DUSE_REDUCED_SURJECTION_PROOF_SIZE=1"
531
531
fi
532
532
@@ -631,6 +631,9 @@ echo " module ellswift = $enable_module_ellswift"
631
631
echo " module generator = $enable_module_generator"
632
632
echo " module rangeproof = $enable_module_rangeproof"
633
633
echo " module surjectionproof = $enable_module_surjectionproof"
634
+ if test x"$enable_module_surjectionproof" = x"yes" && test x"$enable_reduced_surjection_proof_size" = x"yes"; then
635
+ echo " reduced proof size = $enable_reduced_surjection_proof_size"
636
+ fi
634
637
echo " module whitelist = $enable_module_whitelist"
635
638
echo " module musig = $enable_module_musig"
636
639
echo " module ecdsa-s2c = $enable_module_ecdsa_s2c"
0 commit comments