Remove a hack from ssl_test_old
authorMatt Caswell <matt@openssl.org>
Tue, 15 Nov 2016 16:31:26 +0000 (16:31 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 16 Nov 2016 10:34:41 +0000 (10:34 +0000)
commitb5c8f42c9b9fce5d1b14866306e7a11e16275942
treedcad0194233d3eaf8492fad6c3ee41bc29f4f5c4
parentd18afb5bf29dc3b81b5f7a9eda2abde35041a441
Remove a hack from ssl_test_old

ssl_test_old was reaching inside the SSL structure and changing the internal
BIO values. This is completely unneccessary, and was causing an abort in the
test when enabling TLSv1.3.

I also removed the need for ssl_test_old to include ssl_locl.h. This
required the addition of some missing accessors for SSL_COMP name and id
fields.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit e304d3e20f45243f9e643607edfe4db49c329596)
doc/ssl/SSL_COMP_add_compression_method.pod
include/openssl/ssl.h
ssl/ssl_ciph.c
test/ssltest_old.c
util/libssl.num