diff --git a/util/perl/OpenSSL/paramnames.pm b/util/perl/OpenSSL/paramnames.pm index df93202d1d..e7de37bb6a 100644 --- a/util/perl/OpenSSL/paramnames.pm +++ b/util/perl/OpenSSL/paramnames.pm @@ -563,7 +563,7 @@ sub generate_trie { my $nodes = 0; my $chars = 0; - foreach my $name (keys %params) { + foreach my $name (sort keys %params) { my $val = $params{$name}; if (substr($val, 0, 1) ne '*') { my $cursor = \%trie;