Home
last modified time | relevance | path

Searched refs:ret (Results 1 – 16 of 16) sorted by relevance

/lighttpd1.4/src/
H A Dmod_authn_gssapi.c502 if (ret) { in mod_authn_gssapi_verify_krb5_init_creds()
509 if (ret) { in mod_authn_gssapi_verify_krb5_init_creds()
515 if (ret) { in mod_authn_gssapi_verify_krb5_init_creds()
521 if (ret) { in mod_authn_gssapi_verify_krb5_init_creds()
544 if (ret) { in mod_authn_gssapi_verify_krb5_init_creds()
552 if (ret) { in mod_authn_gssapi_verify_krb5_init_creds()
560 if (ret) { in mod_authn_gssapi_verify_krb5_init_creds()
634 int ret; in mod_authn_gssapi_basic() local
681 if (ret) { in mod_authn_gssapi_basic()
694 if (ret) { in mod_authn_gssapi_basic()
[all …]
H A Dmod_vhostdb_ldap.c255 int ret; in mod_authn_ldap_host_init() local
258 if (LDAP_SUCCESS != ret) { in mod_authn_ldap_host_init()
263 ret = LDAP_VERSION3; in mod_authn_ldap_host_init()
264 ret = ldap_set_option(ld, LDAP_OPT_PROTOCOL_VERSION, &ret); in mod_authn_ldap_host_init()
309 int ret; in mod_authn_ldap_bind() local
322 if (ret != LDAP_SUCCESS) { in mod_authn_ldap_bind()
326 return ret; in mod_authn_ldap_bind()
340 int ret; in mod_authn_ldap_search() local
373 if (LDAP_SUCCESS != ret) { in mod_authn_ldap_search()
381 if (LDAP_SUCCESS != ret) { in mod_authn_ldap_search()
[all …]
H A Dmod_authn_ldap.c493 int ret; in mod_authn_ldap_host_init() local
502 ret = LDAP_VERSION3; in mod_authn_ldap_host_init()
503 ret = ldap_set_option(ld, LDAP_OPT_PROTOCOL_VERSION, &ret); in mod_authn_ldap_host_init()
504 if (LDAP_OPT_SUCCESS != ret) { in mod_authn_ldap_host_init()
551 int ret; in mod_authn_ldap_bind() local
564 if (ret != LDAP_SUCCESS) { in mod_authn_ldap_bind()
568 return ret; in mod_authn_ldap_bind()
586 int ret; in mod_authn_ldap_search() local
597 if (LDAP_SUCCESS == ret) { in mod_authn_ldap_search()
619 if (LDAP_SUCCESS != ret) { in mod_authn_ldap_search()
[all …]
H A Dconfigfile.c2121 int ret; in config_parse() local
2167 ret = -1; in config_parse()
2269 return ret; in config_parse_file()
2289 int ret = 0; in config_parse_cmd() local
2308 ret = -1; in config_parse_cmd()
2325 ret = -1; in config_parse_cmd()
2339 ret = -1; in config_parse_cmd()
2345 ret = -1; in config_parse_cmd()
2366 ret = -1; in config_parse_cmd()
2368 return ret; in config_parse_cmd()
[all …]
H A Dmod_extforward.c1324 ssize_t ret; in hap_PROXY_recv() local
1330 } while (-1 == ret && errno == EINTR); in hap_PROXY_recv()
1332 if (-1 == ret) in hap_PROXY_recv()
1341 if (ret >= 16 && 0 == memcmp(&hdr->v2, v2sig, 12) in hap_PROXY_recv()
1345 if ((size_t)ret < sz) in hap_PROXY_recv()
1355 const char *end = memchr(hdr->v1.line, '\r', ret - 1); in hap_PROXY_recv()
1374 if (ret >= 0 || errno != EINVAL) continue; in hap_PROXY_recv()
1377 ret = recv(fd, hdr, sz, MSG_DONTWAIT|MSG_NOSIGNAL); in hap_PROXY_recv()
1378 } while (-1 == ret && errno == EINTR); in hap_PROXY_recv()
1379 if (ret < 0) return -1; in hap_PROXY_recv()
[all …]
H A Dfdevent_impl.c546 int ret; in fdevent_solaris_port_poll() local
555 if ((ret = port_getn(pfd, ev->port_events, 0, &wait_for_events, &timeout)) < 0) return ret; in fdevent_solaris_port_poll()
563 if ((ret = port_getn(pfd, ev->port_events, ev->maxfds, &available_events, &timeout)) < 0) { in fdevent_solaris_port_poll()
566 if (!(errno == ETIME && wait_for_events != available_events)) return ret; in fdevent_solaris_port_poll()
H A Dmod_openssl.c643 char *ret = NULL; in PEM_ASN1_read_bio_secmem() local
654 ret = d2i(x, &p, len); in PEM_ASN1_read_bio_secmem()
656 if (ret == NULL) in PEM_ASN1_read_bio_secmem()
670 return ret; in PEM_ASN1_read_bio_secmem()
940 ssl_info_callback (const SSL *ssl, int where, int ret) in ssl_info_callback() argument
942 UNUSED(ret); in ssl_info_callback()
3362 int ret, ssl_r; in mod_openssl_close_notify() local
3369 switch ((ret = SSL_shutdown(hctx->ssl))) { in mod_openssl_close_notify()
3400 } while (ret > 0 && (hctx->conf.ssl_read_ahead||(ssl_r-=ret))); in mod_openssl_close_notify()
3404 switch ((ret = SSL_shutdown(hctx->ssl))) { in mod_openssl_close_notify()
[all …]
H A Dmod_wolfssl.c1129 ssl_info_callback (const SSL *ssl, int where, int ret) in ssl_info_callback() argument
1131 UNUSED(ret); in ssl_info_callback()
3062 int ret, ssl_r; in mod_openssl_close_notify() local
3069 switch ((ret = SSL_shutdown(hctx->ssl))) { in mod_openssl_close_notify()
3099 ret = SSL_read(hctx->ssl, buf, (int)sizeof(buf)); in mod_openssl_close_notify()
3100 } while (ret > 0 && (hctx->conf.ssl_read_ahead||(ssl_r-=ret))); in mod_openssl_close_notify()
3104 switch ((ret = SSL_shutdown(hctx->ssl))) { in mod_openssl_close_notify()
3123 switch ((ssl_r = SSL_get_error(hctx->ssl, ret))) { in mod_openssl_close_notify()
3139 "SSL (error): %d %d", ssl_r, ret); in mod_openssl_close_notify()
3149 "SSL: %d %d %s", ssl_r, ret, ERR_error_string(err, NULL)); in mod_openssl_close_notify()
[all …]
H A Dmod_mbedtls.c4226 int ret; in ssl_parse_client_hello() local
4239 if( ( ret = mbedtls_ssl_fetch_input( ssl, 5 ) ) != 0 ) in ssl_parse_client_hello()
4242 MBEDTLS_SSL_DEBUG_RET( 1, "mbedtls_ssl_fetch_input", ret ); in ssl_parse_client_hello()
4243 return( ret ); in ssl_parse_client_hello()
4287 if( ( ret = mbedtls_ssl_fetch_input( ssl, in ssl_parse_client_hello()
4290 MBEDTLS_SSL_DEBUG_RET( 1, "mbedtls_ssl_fetch_input", ret ); in ssl_parse_client_hello()
4291 return( ret ); in ssl_parse_client_hello()
4449 ret = mod_mbedtls_alpn_select_cb(hctx, ext + 4, ext_size); in ssl_parse_client_hello()
4450 if( ret != 0 ) in ssl_parse_client_hello()
4451 return( ret ); in ssl_parse_client_hello()
H A Dconnections.c268 int ret; in connection_write_chunkqueue() local
301 ret = con->network_write(con, cq, max_bytes); in connection_write_chunkqueue()
302 if (ret >= 0) { in connection_write_chunkqueue()
303 ret = chunkqueue_is_empty(cq) ? 0 : 1; in connection_write_chunkqueue()
320 return ret; in connection_write_chunkqueue()
H A Dmod_wstunnel.c676 static int get_key_number(uint32_t *ret, const buffer *b) { in get_key_number() argument
693 *ret = (uint32_t)n / sp; in get_key_number()
H A Dalgo_xxhash.h3151 xxh_u64x2 ret; in XXH_vec_loadu() local
3152 XXH_memcpy(&ret, ptr, sizeof(xxh_u64x2)); in XXH_vec_loadu()
3154 ret = XXH_vec_revb(ret); in XXH_vec_loadu()
3156 return ret; in XXH_vec_loadu()
H A Dlemon.c3777 int ret; in has_destructor() local
3779 ret = lemp->tokendest!=0; in has_destructor()
3781 ret = lemp->vardest!=0 || sp->destructor!=0; in has_destructor()
3783 return ret; in has_destructor()
H A Dmod_magnet.c3231 int ret = lua_pcall(L, 0, 1, errfunc_ndx); /* (sp -= 1; sp += 1) */ in magnet_attract() local
3234 if (0 != ret) { in magnet_attract()
/lighttpd1.4/src/ls-hpack/
H A Dlshpack.c1468 int ret = 0; in hdec_dec_str() local
1475 ret = lshpack_dec_huff_decode(*src, len, dst, dst_len); in hdec_dec_str()
1476 if (ret < 0) in hdec_dec_str()
1477 return ret; //Wrong code in hdec_dec_str()
1485 ret = dst_len - len; in hdec_dec_str()
1486 if (ret > LSHPACK_ERR_MORE_BUF) in hdec_dec_str()
1487 ret = LSHPACK_ERR_MORE_BUF; //dst not enough space in hdec_dec_str()
1493 ret = len; in hdec_dec_str()
1497 return ret; in hdec_dec_str()
/lighttpd1.4/
H A DNEWS2600 * [mod_authn_gssapi] fix missing error ret, coverity