Home
last modified time | relevance | path

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

/external/curl/lib/vtls/
Dgtls.c407 static int protocol_priority[] = { 0, 0, 0, 0 }; in gtls_connect_step1() local
572 protocol_priority[0] = GNUTLS_SSL3; in gtls_connect_step1()
576 protocol_priority[0] = GNUTLS_TLS1_0; in gtls_connect_step1()
577 protocol_priority[1] = GNUTLS_TLS1_1; in gtls_connect_step1()
578 protocol_priority[2] = GNUTLS_TLS1_2; in gtls_connect_step1()
581 protocol_priority[0] = GNUTLS_TLS1_0; in gtls_connect_step1()
584 protocol_priority[0] = GNUTLS_TLS1_1; in gtls_connect_step1()
587 protocol_priority[0] = GNUTLS_TLS1_2; in gtls_connect_step1()
599 rc = gnutls_protocol_set_priority(session, protocol_priority); in gtls_connect_step1()