diff options
author | Rich Salz <rsalz@openssl.org> | 2016-12-08 20:18:40 +0100 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2017-01-10 04:26:47 +0100 |
commit | aff8c126fd8db84fa4ef623997a8c4200a14a44f (patch) | |
tree | 88739b836a2ed7f812fcb919cf3bfdae4d4f7b92 /test/handshake_helper.c | |
parent | Fix build issues with no-dh, no-dsa and no-ec (diff) | |
download | openssl-aff8c126fd8db84fa4ef623997a8c4200a14a44f.tar.xz openssl-aff8c126fd8db84fa4ef623997a8c4200a14a44f.zip |
Move extension data into sub-structs
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2052)
Diffstat (limited to 'test/handshake_helper.c')
-rw-r--r-- | test/handshake_helper.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/handshake_helper.c b/test/handshake_helper.c index bf647f1690..9ffd0bf427 100644 --- a/test/handshake_helper.c +++ b/test/handshake_helper.c @@ -378,16 +378,16 @@ static void configure_handshake_ctx(SSL_CTX *server_ctx, SSL_CTX *server2_ctx, parse_protos(extra->server.npn_protocols, &server_ctx_data->npn_protocols, &server_ctx_data->npn_protocols_len); - SSL_CTX_set_next_protos_advertised_cb(server_ctx, server_npn_cb, - server_ctx_data); + SSL_CTX_set_npn_advertised_cb(server_ctx, server_npn_cb, + server_ctx_data); } if (extra->server2.npn_protocols != NULL) { parse_protos(extra->server2.npn_protocols, &server2_ctx_data->npn_protocols, &server2_ctx_data->npn_protocols_len); TEST_check(server2_ctx != NULL); - SSL_CTX_set_next_protos_advertised_cb(server2_ctx, server_npn_cb, - server2_ctx_data); + SSL_CTX_set_npn_advertised_cb(server2_ctx, server_npn_cb, + server2_ctx_data); } if (extra->client.npn_protocols != NULL) { parse_protos(extra->client.npn_protocols, |