Home | History | Annotate | Download | only in https

Lines Matching defs:cbc

72   struct CBC cbc;
78 if (NULL == (cbc.buf = malloc (sizeof (char) * len)))
83 cbc.size = len;
84 cbc.pos = 0;
98 curl_easy_setopt (c, CURLOPT_FILE, &cbc);
120 free (cbc.buf);
126 if (memcmp (cbc.buf, test_data, len) != 0)
129 free (cbc.buf);
133 free (cbc.buf);
152 struct CBC *cbc = ctx;
154 if (cbc->pos + size * nmemb > cbc->size)
156 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb);
157 cbc->pos += size * nmemb;
203 * @param cbc - may be null
208 /* TODO have test wrap consider a NULL cbc */
210 send_curl_req (char *url, struct CBC * cbc, const char *cipher_suite,
224 if (cbc != NULL)
227 curl_easy_setopt (c, CURLOPT_FILE, cbc);
320 struct CBC cbc;
324 if (NULL == (cbc.buf = malloc (sizeof (char) * len)))
329 cbc.size = len;
330 cbc.pos = 0;
338 if (CURLE_OK != send_curl_req (url, &cbc, cipher_suite, proto_version))
346 (memcmp (cbc.buf,
354 free (cbc.buf);