Don't use ciphersuites for inflating the ClientHello in clienthellotest
authorMatt Caswell <matt@openssl.org>
Mon, 4 Sep 2017 07:45:12 +0000 (08:45 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 4 Sep 2017 14:15:30 +0000 (15:15 +0100)
commit1d2491e20e1400def31eb1d1daea5583bfc7ea38
treead4306ff548e9dddc9e08f0fc2713b4ab907254e
parent3d85c7f408e54e1a0b367901534139ba5f1cad07
Don't use ciphersuites for inflating the ClientHello in clienthellotest

clienthellotest tries to fill out the size of the ClientHello by adding
extra ciphersuites in order to test the padding extension. This is
unreliable because they are very dependent on configuration options. If we
add too much data the test will fail! We were already also adding some dummy
ALPN protocols to pad out the size, and it turns out that this is sufficient
just in itself, so drop the extra ciphersuites.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/4331)
test/clienthellotest.c