Lines Matching refs:protocol_priority
409 protocol_priority[protocol_priority_idx++] = GNUTLS_TLS1_0; in set_ssl_version_min_max()
412 protocol_priority[protocol_priority_idx++] = GNUTLS_TLS1_1; in set_ssl_version_min_max()
415 protocol_priority[protocol_priority_idx++] = GNUTLS_TLS1_2; in set_ssl_version_min_max()
419 protocol_priority[protocol_priority_idx++] = GNUTLS_TLS1_3; in set_ssl_version_min_max()
551 int protocol_priority[] = { 0, 0, 0, 0 }; in gtls_connect_step1() local
717 protocol_priority[0] = GNUTLS_SSL3; in gtls_connect_step1()
721 protocol_priority[0] = GNUTLS_TLS1_0; in gtls_connect_step1()
722 protocol_priority[1] = GNUTLS_TLS1_1; in gtls_connect_step1()
723 protocol_priority[2] = GNUTLS_TLS1_2; in gtls_connect_step1()
725 protocol_priority[3] = GNUTLS_TLS1_3; in gtls_connect_step1()
733 CURLcode result = set_ssl_version_min_max(protocol_priority, in gtls_connect_step1()
734 sizeof(protocol_priority)/sizeof(protocol_priority[0]), conn); in gtls_connect_step1()
746 rc = gnutls_protocol_set_priority(session, protocol_priority); in gtls_connect_step1()