Sort @sstacklst correctly.

Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
Dr. Stephen Henson 2015-07-09 12:44:46 +01:00
parent 040b93353e
commit 88f4f91260

View File

@ -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;