Clean up following new SNI tests
- Only send SNI in SNI tests. This allows us to test handshakes without
the SNI extension as well.
- Move all handshake-specific machinery to handshake_helper.c
- Use enum types to represent the enum everywhere
(Resorting to plain ints can end in sign mismatch when the enum is
represented by an unsigned type.)
Reviewed-by:
Rich Salz <rsalz@openssl.org>
Showing
- test/README.ssltest.md 3 additions, 2 deletionstest/README.ssltest.md
- test/handshake_helper.c 40 additions, 7 deletionstest/handshake_helper.c
- test/handshake_helper.h 4 additions, 7 deletionstest/handshake_helper.h
- test/ssl_test.c 7 additions, 33 deletionstest/ssl_test.c
- test/ssl_test_ctx.c 8 additions, 8 deletionstest/ssl_test_ctx.c
- test/ssl_test_ctx.h 5 additions, 4 deletionstest/ssl_test_ctx.h
- test/ssl_test_ctx_test.c 2 additions, 2 deletionstest/ssl_test_ctx_test.c
Loading
Please register or sign in to comment