Lines Matching refs:CURLcode
346 static CURLcode nss_create_object(struct ssl_connect_data *ssl,
356 CURLcode result = (cacert)
415 static CURLcode nss_load_cert(struct ssl_connect_data *ssl,
418 CURLcode result = (cacert)
453 static CURLcode nss_cache_crl(SECItem *crl_der)
486 static CURLcode nss_load_crl(const char* crlfilename)
550 static CURLcode nss_load_key(struct connectdata *conn, int sockindex,
555 CURLcode result;
597 static CURLcode cert_stuff(struct connectdata *conn, int sockindex,
601 CURLcode result;
822 static CURLcode display_conn_info(struct connectdata *conn, PRFileDesc *sock)
824 CURLcode result = CURLE_OK;
949 static CURLcode cmp_peer_pubkey(struct ssl_connect_data *connssl,
952 CURLcode result = CURLE_SSL_PINNEDPUBKEYNOTMATCH;
1137 static CURLcode nss_init_core(struct Curl_easy *data, const char *cert_dir)
1175 static CURLcode nss_init(struct Curl_easy *data)
1179 CURLcode result;
1254 CURLcode Curl_nss_force_init(struct Curl_easy *data)
1256 CURLcode result;
1365 static bool is_nss_error(CURLcode err)
1397 static CURLcode nss_load_ca_certificates(struct connectdata *conn,
1405 CURLcode result = nss_load_cert(&conn->ssl[sockindex], cafile, PR_TRUE);
1449 static CURLcode nss_init_sslver(SSLVersionRange *sslver,
1502 static CURLcode nss_fail_connect(struct ssl_connect_data *connssl,
1504 CURLcode curlerr)
1529 static CURLcode nss_set_nonblock(struct ssl_connect_data *connssl,
1542 static CURLcode nss_setup_connect(struct connectdata *conn, int sockindex)
1552 CURLcode result;
1657 const CURLcode rv = nss_load_ca_certificates(conn, sockindex);
1665 const CURLcode rv = nss_load_crl(data->set.ssl.CRLfile);
1680 CURLcode rv = cert_stuff(conn, sockindex, data->set.str[STRING_CERT],
1815 static CURLcode nss_do_connect(struct connectdata *conn, int sockindex)
1819 CURLcode result = CURLE_SSL_CONNECT_ERROR;
1877 static CURLcode nss_connect_common(struct connectdata *conn, int sockindex,
1883 CURLcode result;
1937 CURLcode Curl_nss_connect(struct connectdata *conn, int sockindex)
1942 CURLcode Curl_nss_connect_nonblocking(struct connectdata *conn,
1952 CURLcode *curlcode)
1959 *curlcode = CURLE_AGAIN;
1968 *curlcode = (is_cc_error(err))
1983 CURLcode *curlcode)
1992 *curlcode = CURLE_AGAIN;
2001 *curlcode = (is_cc_error(err))