Fix curves.pl for ECJPAKE disabled by default

This commit is contained in:
Manuel Pégourié-Gonnard 2015-10-20 16:56:12 +02:00
parent 4b20c0ee53
commit 8a7a189220

View file

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