diff --git a/tests/scripts/curves.pl b/tests/scripts/curves.pl index 06128f78a..654bc5c3e 100755 --- a/tests/scripts/curves.pl +++ b/tests/scripts/curves.pl @@ -23,8 +23,8 @@ sub abort { for my $curve (@curves) { system( "cp $config_h.bak $config_h" ) and die "$config_h not restored\n"; - # depends on a specific curve - system( "scripts/config.pl unset MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED" ) and die; + # depends on a specific curve. Also, ignore error if it wasn't enabled + system( "scripts/config.pl unset MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED" ); system( "make clean" ) and die; print "\n******************************************\n";