Home
last modified time | relevance | path

Searched refs:next_proto (Results 1 – 3 of 3) sorted by relevance

/openssl/apps/
H A Ds_client.c292 static tlsextnextprotoctx next_proto; variable
1718 next_proto.status = -1; in s_client_main()
1720 next_proto.data = in s_client_main()
1721 next_protos_parse(&next_proto.len, next_proto_neg_in); in s_client_main()
1722 if (next_proto.data == NULL) { in s_client_main()
1727 next_proto.data = NULL; in s_client_main()
1967 if (next_proto.data != NULL) in s_client_main()
1968 SSL_CTX_set_next_proto_select_cb(ctx, next_proto_cb, &next_proto); in s_client_main()
3325 OPENSSL_free(next_proto.data); in s_client_main()
3532 if (next_proto.status != -1) { in print_stuff()
[all …]
H A Ds_server.c660 tlsextnextprotoctx *next_proto = arg; in next_proto_cb() local
662 *data = next_proto->data; in next_proto_cb()
663 *len = next_proto->len; in next_proto_cb()
1057 tlsextnextprotoctx next_proto = { NULL, 0 }; in s_server_main() local
1842 next_proto.data = next_protos_parse(&next_proto.len, next_proto_neg_in); in s_server_main()
1843 if (next_proto.data == NULL) in s_server_main()
2107 if (next_proto.data) in s_server_main()
2109 &next_proto); in s_server_main()
2368 OPENSSL_free(next_proto.data); in s_server_main()
/openssl/ssl/statem/
H A Dstatem_srvr.c4339 PACKET next_proto, padding; in tls_process_next_proto() local
4349 if (!PACKET_get_length_prefixed_1(pkt, &next_proto) in tls_process_next_proto()
4356 if (!PACKET_memdup(&next_proto, &s->ext.npn, &next_proto_len)) { in tls_process_next_proto()

Completed in 37 milliseconds