Sort @sstacklst correctly.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 9 Jul 2015 11:44:46 +0000 (12:44 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 9 Jul 2015 15:04:09 +0000 (16:04 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
util/mkstack.pl

index 073902759ce06435c70ce9e6c71190115e6bee1b..8daa1f85519b7acd65e95c54bcc3d05cbe8269fc 100755 (executable)
@@ -283,7 +283,7 @@ foreach $type_thing (sort @stacklst) {
 EOF
 }
 
-foreach $type_thing (sort @sstacklst) {
+foreach $type_thing (sort { $a->[0] cmp $b->[0]} @sstacklst) {
     my $t1 = $type_thing->[0];
     my $t2 = $type_thing->[1];
     $new_stackfile .= <<EOF;