Searched refs:client_protocols (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Modules/ |
D | _ssl.c | 2259 const unsigned char *client_protocols, unsigned int client_protocols_len) in do_protocol_selection() argument 2262 if (client_protocols == NULL) { in do_protocol_selection() 2263 client_protocols = (unsigned char *)""; in do_protocol_selection() 2273 client_protocols, client_protocols_len); in do_protocol_selection() 2354 const unsigned char *client_protocols, unsigned int client_protocols_len, in _selectALPN_cb() argument 2360 client_protocols, client_protocols_len); in _selectALPN_cb()
|
/external/python/cpython2/Lib/test/ |
D | test_ssl.py | 2950 for client_protocols, expected in protocol_tests: 2956 client_context.set_alpn_protocols(client_protocols) 2972 % (str(server_protocols), str(client_protocols), 2999 for client_protocols, expected in protocol_tests: 3005 client_context.set_npn_protocols(client_protocols) 3011 % (str(server_protocols), str(client_protocols),
|