Initialise new_cipher in the serverhello TLS extensions test, to avoid a
authorjsing <jsing@openbsd.org>
Thu, 28 Dec 2017 12:52:45 +0000 (12:52 +0000)
committerjsing <jsing@openbsd.org>
Thu, 28 Dec 2017 12:52:45 +0000 (12:52 +0000)
commit770503efc48b9c39a7bc5457f322895addaf3f13
tree2806b15f77578030ea4713851775b24814257d57
parenta48fd00b4badc60c6a3434aaa211156eb38332bb
Initialise new_cipher in the serverhello TLS extensions test, to avoid a
NULL pointer dereference in ssl_using_ecc_cipher(). Some compilers avoid
triggering this, likely due to the EC formats list also being NULL.

While here, setup the EC formats list so that we actually include the EC
points format extension in the server hello extensions.

Found the hard way by bcook@
regress/lib/libssl/tlsext/tlsexttest.c