params: sort structure fields for repeatability

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27847)
This commit is contained in:
Pauli 2025-06-18 11:33:31 +10:00
parent f50e9ef510
commit 4b0e0cc84d
1 changed files with 1 additions and 1 deletions

View File

@ -782,7 +782,7 @@ sub output_param_decoder {
# Output param pointer structure
printf "#ifndef %s_st\n", $decoder_name_base;
printf "struct %s_st {\n", $decoder_name_base;
foreach my $pident (values %prms) {
foreach my $pident (sort values %prms) {
printf " OSSL_PARAM *%s;\n", $pident;
}
print "};\n#endif\n\n";