Searched refs:client_protocols (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Modules/ |
D | _ssl.c | 2339 const unsigned char *client_protocols, unsigned int client_protocols_len) in do_protocol_selection() argument 2342 if (client_protocols == NULL) { in do_protocol_selection() 2343 client_protocols = (unsigned char *)""; in do_protocol_selection() 2353 client_protocols, client_protocols_len); in do_protocol_selection() 2436 const unsigned char *client_protocols, unsigned int client_protocols_len, in _selectALPN_cb() argument 2442 client_protocols, client_protocols_len); in _selectALPN_cb()
|
/external/python/cpython2/Lib/test/ |
D | test_ssl.py | 2961 for client_protocols, expected in protocol_tests: 2967 client_context.set_alpn_protocols(client_protocols) 2984 % (str(server_protocols), str(client_protocols), 3011 for client_protocols, expected in protocol_tests: 3017 client_context.set_npn_protocols(client_protocols) 3023 % (str(server_protocols), str(client_protocols),
|
/external/python/cpython3/Modules/ |
D | _ssl.c | 3405 const unsigned char *client_protocols, unsigned int client_protocols_len) in do_protocol_selection() argument 3408 if (client_protocols == NULL) { in do_protocol_selection() 3409 client_protocols = (unsigned char *)""; in do_protocol_selection() 3419 client_protocols, client_protocols_len); in do_protocol_selection() 3499 const unsigned char *client_protocols, unsigned int client_protocols_len, in _selectALPN_cb() argument 3505 client_protocols, client_protocols_len); in _selectALPN_cb()
|
/external/python/cpython3/Lib/test/ |
D | test_ssl.py | 4045 for client_protocols, expected in protocol_tests: 4048 client_context.set_alpn_protocols(client_protocols) 4066 % (str(server_protocols), str(client_protocols), 4093 for client_protocols, expected in protocol_tests: 4096 client_context.set_npn_protocols(client_protocols) 4102 % (str(server_protocols), str(client_protocols),
|