Lines Matching refs:err
70 CURLcode err; member
93 if(ca->err != CURLE_OK || !ca->in_cert) in append_dn()
96 ca->err = CURLE_FAILED_INIT; in append_dn()
140 ca.err = CURLE_OK; in load_cafile()
159 if(ca.err) in load_cafile()
180 ca.err = CURLE_SSL_CACERT_BADFILE; in load_cafile()
185 ca.err = CURLE_OUT_OF_MEMORY; in load_cafile()
192 ca.err = CURLE_OUT_OF_MEMORY; in load_cafile()
204 ca.err = CURLE_SSL_CACERT_BADFILE; in load_cafile()
219 ca.err = CURLE_FAILED_INIT; in load_cafile()
226 ca.err = CURLE_OUT_OF_MEMORY; in load_cafile()
245 ca.err = CURLE_SSL_CACERT_BADFILE; in load_cafile()
251 ca.err = CURLE_READ_ERROR; in load_cafile()
253 ca.err = CURLE_SSL_CACERT_BADFILE; in load_cafile()
258 if(ca.err == CURLE_OK) { in load_cafile()
268 return ca.err; in load_cafile()
691 int err; in bearssl_run_until() local
699 err = br_ssl_engine_last_error(&backend->ctx.eng); in bearssl_run_until()
700 switch(err) { in bearssl_run_until()
722 failf(data, "BearSSL: connection error 0x%04x", err); in bearssl_run_until()
724 if(err >= 32 && err < 64) in bearssl_run_until()
856 const void *buf, size_t len, CURLcode *err) in bearssl_send() argument
867 *err = bearssl_run_until(cf, data, BR_SSL_SENDAPP); in bearssl_send()
868 if(*err) in bearssl_send()
873 *err = CURLE_SEND_ERROR; in bearssl_send()
891 char *buf, size_t len, CURLcode *err) in bearssl_recv() argument
901 *err = bearssl_run_until(cf, data, BR_SSL_RECVAPP); in bearssl_recv()
902 if(*err != CURLE_OK) in bearssl_recv()