Lines Matching refs:ciphers
318 } ciphers[CURL_GSKPROTO_LAST]; in set_ciphers() local
333 memset((char *) ciphers, 0, sizeof(ciphers)); in set_ciphers()
335 ciphers[i].buf = malloc(l); in set_ciphers()
336 if(!ciphers[i].buf) { in set_ciphers()
338 free(ciphers[i].buf); in set_ciphers()
341 ciphers[i].ptr = ciphers[i].buf; in set_ciphers()
342 *ciphers[i].ptr = '\0'; in set_ciphers()
367 strcpy(ciphers[i].ptr, ctp->gsktoken); in set_ciphers()
368 ciphers[i].ptr += strlen(ctp->gsktoken); in set_ciphers()
380 if(!(*protoflags & (1 << i)) || !ciphers[i].buf[0]) { in set_ciphers()
382 ciphers[i].buf[0] = '\0'; in set_ciphers()
389 ciphers[CURL_GSKPROTO_TLSV11].buf, TRUE); in set_ciphers()
400 ciphers[CURL_GSKPROTO_TLSV12].buf, TRUE); in set_ciphers()
414 ciphers[CURL_GSKPROTO_TLSV10].buf, TRUE); in set_ciphers()
417 strcpy(ciphers[CURL_GSKPROTO_SSLV3].ptr, in set_ciphers()
418 ciphers[CURL_GSKPROTO_TLSV10].ptr); in set_ciphers()
425 ciphers[CURL_GSKPROTO_SSLV3].buf, FALSE); in set_ciphers()
428 ciphers[CURL_GSKPROTO_SSLV2].buf, FALSE); in set_ciphers()
432 free(ciphers[i].buf); in set_ciphers()