tlsexttest: check additional logic in tlsext randomization
authortb <tb@openbsd.org>
Thu, 27 Apr 2023 10:53:58 +0000 (10:53 +0000)
committertb <tb@openbsd.org>
Thu, 27 Apr 2023 10:53:58 +0000 (10:53 +0000)
commitf313d342a2dffc44c39d99c1cb563be55ae6242f
tree17898edd92463fb03164efbcb08dae9e774cfb77
parent6753c042c48abc51ce9e77a1b06a3924e6903df5
tlsexttest: check additional logic in tlsext randomization

This verifies that we put PSK always last and that the Apache 2 special
does what it is supposed to do. There is also some weak validation of
the Fisher-Yates shuffle that will likely catch errors introduced in
tlsext_randomize_build_order()
regress/lib/libssl/tlsext/tlsexttest.c