mirror of https://github.com/openssl/openssl.git
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:
parent
f50e9ef510
commit
4b0e0cc84d
|
@ -782,7 +782,7 @@ sub output_param_decoder {
|
||||||
# Output param pointer structure
|
# Output param pointer structure
|
||||||
printf "#ifndef %s_st\n", $decoder_name_base;
|
printf "#ifndef %s_st\n", $decoder_name_base;
|
||||||
printf "struct %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;
|
printf " OSSL_PARAM *%s;\n", $pident;
|
||||||
}
|
}
|
||||||
print "};\n#endif\n\n";
|
print "};\n#endif\n\n";
|
||||||
|
|
Loading…
Reference in New Issue