Lines Matching refs:ciphers
863 SSLCipherSuite *ciphers = NULL; in sectransp_get_supported_ciphers() local
871 ciphers = malloc(*len * sizeof(SSLCipherSuite)); in sectransp_get_supported_ciphers()
872 if(!ciphers) in sectransp_get_supported_ciphers()
875 err = SSLGetSupportedCiphers(ssl_ctx, ciphers, len); in sectransp_get_supported_ciphers()
890 if(ciphers[i] >= 0xC001 && ciphers[i] <= 0xC032) in sectransp_get_supported_ciphers()
892 ciphers[j++] = ciphers[i]; in sectransp_get_supported_ciphers()
899 return ciphers; in sectransp_get_supported_ciphers()
902 Curl_safefree(ciphers); in sectransp_get_supported_ciphers()
913 SSLCipherSuite *ciphers = NULL; in sectransp_set_default_ciphers() local
915 ciphers = sectransp_get_supported_ciphers(ssl_ctx, &supported_len); in sectransp_set_default_ciphers()
916 if(!ciphers) { in sectransp_set_default_ciphers()
925 if(default_ciphers[j] == ciphers[i]) { in sectransp_set_default_ciphers()
926 ciphers[count++] = ciphers[i]; in sectransp_set_default_ciphers()
937 err = SSLSetEnabledCiphers(ssl_ctx, ciphers, count); in sectransp_set_default_ciphers()
945 Curl_safefree(ciphers); in sectransp_set_default_ciphers()
951 const char *ciphers) in sectransp_set_selected_ciphers() argument
973 for(ptr = ciphers; ptr[0] != '\0' && count < supported_len; ptr = end) { in sectransp_set_selected_ciphers()
1045 char *ciphers; local
1306 ciphers = conn_config->cipher_list;
1307 if(ciphers) {
1308 result = sectransp_set_selected_ciphers(data, backend->ssl_ctx, ciphers);