diff options
author | Matt Caswell <matt@openssl.org> | 2017-03-02 13:41:10 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-03-02 16:49:28 +0000 |
commit | b6611753a6d9bef6a8c16850a9eb9215d8a84fac (patch) | |
tree | e39b072f2d86c8db226f0c8d10133376a22d751f /test/ssl_test_ctx.h | |
parent | 439db0c97bd50cae008e876c6c8ed5e5011bf6eb (diff) |
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); |