diff options
author | Matt Caswell <matt@openssl.org> | 2017-03-02 14:41:10 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-03-02 17:49:28 +0100 |
commit | b6611753a6d9bef6a8c16850a9eb9215d8a84fac (patch) | |
tree | e39b072f2d86c8db226f0c8d10133376a22d751f /test/ssl_test_ctx.h | |
parent | Add compression tests (diff) | |
download | openssl-b6611753a6d9bef6a8c16850a9eb9215d8a84fac.tar.xz openssl-b6611753a6d9bef6a8c16850a9eb9215d8a84fac.zip |
Use the built in boolean type for CompressionExpected
Don't create a custom boolean type for parsing CompressionExpected. Use
the existing one instead.
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2814)
Diffstat (limited to 'test/ssl_test_ctx.h')
-rw-r--r-- | test/ssl_test_ctx.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/ssl_test_ctx.h b/test/ssl_test_ctx.h index 418a4f2ac3..300a557880 100644 --- a/test/ssl_test_ctx.h +++ b/test/ssl_test_ctx.h @@ -168,7 +168,7 @@ typedef struct { */ ssl_servername_t expected_servername; ssl_session_ticket_t session_ticket_expected; - ssl_compression_t compression_expected; + int compression_expected; /* The expected NPN/ALPN protocol to negotiate. */ char *expected_npn_protocol; char *expected_alpn_protocol; @@ -198,7 +198,6 @@ const char *ssl_servername_name(ssl_servername_t server); const char *ssl_servername_callback_name(ssl_servername_callback_t servername_callback); const char *ssl_session_ticket_name(ssl_session_ticket_t server); -const char *ssl_compression_name(ssl_compression_t server); const char *ssl_test_method_name(ssl_test_method_t method); const char *ssl_handshake_mode_name(ssl_handshake_mode_t mode); const char *ssl_ct_validation_name(ssl_ct_validation_t mode); |