Lines Matching refs:result

845   CURLcode result;
849 nread = Curl_conn_cf_recv(cf->next, data, buf, *dataLength, &result);
850 CURL_TRC_CF(data, cf, "bio_read(len=%zu) -> %zd, result=%d",
851 *dataLength, nread, result);
853 switch(result) {
885 CURLcode result;
889 nwritten = Curl_conn_cf_send(cf->next, data, buf, *dataLength, &result);
890 CURL_TRC_CF(data, cf, "bio_send(len=%zu) -> %zd, result=%d",
891 *dataLength, nwritten, result);
893 if(result == CURLE_AGAIN) {
994 CURLcode result = CURLE_OK;
1011 result = CURLE_OUT_OF_MEMORY;
1021 result = CURLE_PEER_FAILED_VERIFICATION;
1029 result = CURLE_OUT_OF_MEMORY;
1032 if(result)
1035 return result;
1389 CURLcode result = sectransp_version_from_curl(&darwin_ver_min,
1391 if(result) {
1393 return result;
1395 result = sectransp_version_from_curl(&darwin_ver_max,
1397 if(result) {
1399 return result;
1404 return result;
1722 CURLcode result = set_ssl_version_min_max(cf, data);
1723 if(result != CURLE_OK)
1724 return result;
1759 CURLcode result = set_ssl_version_min_max(cf, data);
1760 if(result != CURLE_OK)
1761 return result;
1877 CURLcode result = CopyCertSubject(data, cert, &certp);
1878 if(!result) {
1884 if(result == CURLE_PEER_FAILED_VERIFICATION)
1886 if(result)
1887 return result;
1934 * anyway. In the latter case the result of the verification is checked with
2065 CURLcode result;
2080 result = Curl_ssl_addsessionid(cf, data, ssl_sessionid,
2083 if(result) {
2085 return result;
2199 CURLcode result;
2217 result = CopyCertSubject(data, cacert, &certp);
2218 switch(result) {
2225 return result;
2248 CURLcode result = CURLE_PEER_FAILED_VERIFICATION;
2262 result = CURLE_OUT_OF_MEMORY;
2277 result = CURLE_SSL_CACERT_BADFILE;
2287 result = rc;
2301 result = rc;
2338 CURL_TRC_CF(data, cf, "trust result: Unspecified");
2339 result = CURLE_OK;
2342 CURL_TRC_CF(data, cf, "trust result: Proceed");
2343 result = CURLE_OK;
2353 failf(data, "SSL: perr not verified: result=%d", trust_eval);
2362 return result;
2370 CURLcode result;
2391 result = verify_cert_buf(cf, data, certbuf, buflen, ctx);
2394 return result;
2409 CURLcode result = CURLE_SSL_PINNEDPUBKEYNOTMATCH;
2417 return result;
2484 result = Curl_pin_peer_pubkey(data, pinnedpubkey, pubkey,
2498 result = Curl_pin_peer_pubkey(data, pinnedpubkey, realpubkey,
2507 return result;
2544 CURLcode result = verify_cert(cf, data, conn_config->CAfile,
2547 if(result)
2548 return result;
2722 failf(data, "A non-fatal result for providing a server name "
2756 CURLcode result =
2759 if(result) {
2761 return result;
2847 CURLcode result = CURLE_OK;
2857 result = Curl_extract_certinfo(data, idx, beg, end);
2859 return result;
2867 CURLcode result = CURLE_OK;
2872 result = CopyCertSubject(data, server_cert, &certp);
2873 if(!result) {
2880 result = add_cert_to_certinfo(data, server_cert, (int)idx);
2881 return result;
2894 CURLcode result = ssl_config->certinfo ?
2911 return result;
2922 result = Curl_ssl_init_certinfo(data, (int)count);
2923 for(i = 0L ; !result && (i < count) ; i++) {
2925 result = collect_server_cert_single(cf, data, server_cert, i);
2944 result = Curl_ssl_init_certinfo(data, (int)count);
2945 for(i = 0L ; !result && (i < count) ; i++) {
2947 result = collect_server_cert_single(cf, data, server_cert, i);
2959 result = Curl_ssl_init_certinfo(data, (int)count);
2960 for(i = 0L ; !result && (i < count) ; i++) {
2963 result = collect_server_cert_single(cf, data, server_cert, i);
2976 result = Curl_ssl_init_certinfo(data, (int)count);
2977 for(i = 0L ; !result && (i < count) ; i++) {
2979 result = collect_server_cert_single(cf, data, server_cert, i);
2984 return result;
2991 CURLcode result;
2997 result = collect_server_cert(cf, data);
2998 if(result)
2999 return result;
3010 CURLcode result;
3031 result = sectransp_connect_step1(cf, data);
3032 if(result)
3033 return result;
3085 result = sectransp_connect_step2(cf, data);
3086 if(result || (nonblocking &&
3090 return result;
3096 result = sectransp_connect_step3(cf, data);
3097 if(result)
3098 return result;
3125 CURLcode result;
3128 result = sectransp_connect_common(cf, data, FALSE, &done);
3130 if(result)
3131 return result;
3176 CURLcode result;
3212 nread = Curl_conn_cf_recv(cf->next, data, buf, sizeof(buf), &result);
3215 failf(data, "read: %s", curl_easy_strerror(result));
3418 CURLcode result = verify_cert(cf, data, conn_config->CAfile,
3421 if(result) {
3422 *curlcode = result;