Home
last modified time | relevance | path

Searched refs:msg (Results 1 – 23 of 23) sorted by relevance

/lighttpd1.4/src/
H A Dalgo_hmac.c87 hmac_sha1_update(&ctx, mlen, (const uint8_t *)msg); in li_hmac_sha1()
108 (const unsigned char *)msg, mlen, in li_hmac_sha1()
125 HMAC_Update(hmac, (const unsigned char *)msg, mlen); in li_hmac_sha1()
134 UNUSED(msg); in li_hmac_sha1()
145 UNUSED(msg); in li_hmac_sha1()
163 hmac_sha256_update(&ctx, mlen, (const uint8_t *)msg); in li_hmac_sha256()
201 HMAC_Update(hmac, (const unsigned char *)msg, mlen); in li_hmac_sha256()
210 UNUSED(msg); in li_hmac_sha256()
221 UNUSED(msg); in li_hmac_sha256()
286 UNUSED(msg); in li_hmac_sha512()
[all …]
H A Dlighttpd-angel.c85 const char *msg = NULL; in main() local
89 msg = "%s.%d: child (pid=%d) exited normally with exitcode: %d\n"; in main()
93 msg = "%s.%d: child (pid=%d) exited unexpectedly with signal %d, " in main()
97 if (msg) in main()
98 fprintf(stderr, msg, __FILE__, __LINE__, pid, code); in main()
H A Dalgo_hmac.h13 const unsigned char * const msg, const uint32_t mlen);
18 const unsigned char * const msg, const uint32_t mlen);
23 const unsigned char * const msg, const uint32_t mlen);
28 const unsigned char * const msg, const uint32_t mlen);
H A Dck.c432 ck_bt_stderr (const char *filename, unsigned int line, const char *msg, const char *fmt) in __attribute_nonnull__()
434 fprintf(stderr, fmt, filename, line, msg); in __attribute_nonnull__()
443 ck_bt (const char *filename, unsigned int line, const char *msg) in ck_bt() argument
445 ck_bt_stderr(filename, line, msg, "%s.%u: %s\n"); in ck_bt()
451 ck_bt_abort (const char *filename, unsigned int line, const char *msg) in ck_bt_abort() argument
453 ck_bt(filename, line, msg); in ck_bt_abort()
459 void ck_assert_failed(const char *filename, unsigned int line, const char *msg) in ck_assert_failed() argument
463 ck_bt_stderr(filename, line, msg, "%s.%u: assertion failed: %s\n"); in ck_assert_failed()
H A Dck.h93 void ck_bt(const char *filename, unsigned int line, const char *msg);
100 void ck_bt_abort(const char *filename, unsigned int line, const char *msg);
109 void ck_assert_failed(const char *filename, unsigned int line, const char *msg);
H A Dmod_authn_gssapi.c164 buffer * const msg = buffer_init(); in mod_authn_gssapi_log_gss_error() local
169 buffer_copy_string(msg, func); in mod_authn_gssapi_log_gss_error()
170 buffer_append_char(msg, '('); in mod_authn_gssapi_log_gss_error()
171 if (extra) buffer_append_string(msg, extra); in mod_authn_gssapi_log_gss_error()
172 buffer_append_string_len(msg, CONST_STR_LEN("):")); in mod_authn_gssapi_log_gss_error()
180 buffer_append_string(msg, status_string.value); in mod_authn_gssapi_log_gss_error()
186 buffer_append_string_len(msg, CONST_STR_LEN(" (")); in mod_authn_gssapi_log_gss_error()
187 buffer_append_string(msg, status_string.value); in mod_authn_gssapi_log_gss_error()
188 buffer_append_char(msg, ')'); in mod_authn_gssapi_log_gss_error()
193 log_error(errh, file, line, "%s", msg->ptr); in mod_authn_gssapi_log_gss_error()
[all …]
H A Dconfigfile-glue.c376 const char *msg; in config_cond_result_trace() local
378 case COND_RESULT_UNSET: msg = "unset"; break; in config_cond_result_trace()
379 case COND_RESULT_SKIP: msg = "skipped"; break; in config_cond_result_trace()
380 case COND_RESULT_FALSE: msg = "false"; break; in config_cond_result_trace()
381 case COND_RESULT_TRUE: msg = "true"; break; in config_cond_result_trace()
382 default: msg = "invalid cond_result_t"; break; in config_cond_result_trace()
385 dc->context_ndx, &"uncached"[cached ? 2 : 0], msg, dc->key.ptr); in config_cond_result_trace()
H A Dmod_staticfile.c102 mod_staticfile_not_handled(request_st * const r, const char * const msg) in mod_staticfile_not_handled() argument
106 "-- NOT handling file as static file, %s forbidden", msg); in mod_staticfile_not_handled()
H A Dmod_authn_pam.c128 static int mod_authn_pam_fn_conv(int num_msg, const struct pam_message **msg, struct pam_response *… in mod_authn_pam_fn_conv() argument
133 const int style = msg[i]->msg_style; in mod_authn_pam_fn_conv()
H A Drequest.c315 …er_line_invalid(request_st * const restrict r, const int status, const char * const restrict msg) { in http_request_header_line_invalid() argument
317 if (msg) log_error(r->conf.errh, __FILE__, __LINE__, "%s", msg); in http_request_header_line_invalid()
324 …eader_char_invalid(request_st * const restrict r, const char ch, const char * const restrict msg) { in http_request_header_char_invalid() argument
327 log_error(r->conf.errh, __FILE__, __LINE__, "%s ('%c')", msg, ch); in http_request_header_char_invalid()
330 log_error(r->conf.errh, __FILE__, __LINE__, "%s (0x%x)", msg, ch); in http_request_header_char_invalid()
H A Dmod_gnutls.c181 const int rc, const char * const msg) in elog() argument
185 msg, gnutls_strerror_name(rc), gnutls_strerror(rc)); in elog()
195 char msg[1024]; in elogf() local
198 vsnprintf(msg, sizeof(msg), fmt, ap); in elogf()
200 elog(errh, file, line, rc, msg); in elogf()
1526 const gnutls_datum_t *msg) in mod_gnutls_client_hello_hook() argument
2803 gnutls_datum_t msg = { NULL, 0 }; in https_add_ssl_client_verify_err() local
2805 &msg, 0) >= 0) { in https_add_ssl_client_verify_err()
2806 size_t sz = msg.size-1; /* '\0'-terminated string */ in https_add_ssl_client_verify_err()
2809 buffer_append_string_len(b, (char *)msg.data, sz); in https_add_ssl_client_verify_err()
[all …]
H A Dmod_magnet.c765 const_buffer msg = magnet_checkconstbuffer(L, -1); in magnet_md_once() local
773 SHA512_once(digest, msg.ptr, msg.len); in magnet_md_once()
780 SHA256_once(digest, msg.ptr, msg.len); in magnet_md_once()
789 SHA1_once(digest, msg.ptr, msg.len); in magnet_md_once()
798 MD5_once(digest, msg.ptr, msg.len); in magnet_md_once()
826 const_buffer msg = magnet_checkconstbuffer(L, -1); in magnet_hmac_once() local
827 const uint8_t * const msgptr = (uint8_t *)msg.ptr; in magnet_hmac_once()
836 rc = li_hmac_sha512(digest,secret.ptr,secret.len,msgptr,msg.len); in magnet_hmac_once()
843 rc = li_hmac_sha256(digest,secret.ptr,secret.len,msgptr,msg.len); in magnet_hmac_once()
852 rc = li_hmac_sha1(digest,secret.ptr,secret.len,msgptr,msg.len); in magnet_hmac_once()
[all …]
H A Dbuffer.h409 #define log_failed_assert(file,line,msg) ck_bt_abort((file),(line),(msg)) argument
H A Dresponse.c197 http_response_physical_path_error (request_st * const r, const int code, const char * const msg) in http_response_physical_path_error() argument
202 if (NULL == msg) in http_response_physical_path_error()
205 log_error(r->conf.errh, __FILE__, __LINE__, "%s", msg); in http_response_physical_path_error()
H A Dmod_mbedtls.c236 const int rc, const char * const msg) in elog() argument
241 log_error(errh, file, line, "MTLS: %s: %s (-0x%04x)", msg, buf, -rc); in elog()
244 #define elog(errh, file, line, rc, msg) \ argument
245 log_error((errh), (file), (line), "MTLS: %s: (-0x%04x)", (msg), -(rc))
255 char msg[1024]; in elogf() local
258 vsnprintf(msg, sizeof(msg), fmt, ap); in elogf()
260 elog(errh, file, line, rc, msg); in elogf()
H A Dmod_cgi.c1161 static void cgi_trigger_hctx_timeout(handler_ctx * const hctx, const char * const msg) { in cgi_trigger_hctx_timeout() argument
1167 msg, r->physical.path.ptr, (long long)hctx->cgi_pid->pid); in cgi_trigger_hctx_timeout()
1169 if (*msg == 'w') { /* "write" */ in cgi_trigger_hctx_timeout()
H A Dmod_nss.c223 const char * const msg) in elog() argument
229 msg, s ? s : "", PR_ErrorToString(rc, 0)); in elog()
239 char msg[1024]; in elogf() local
242 vsnprintf(msg, sizeof(msg), fmt, ap); in elogf()
244 elog(errh, file, line, msg); in elogf()
H A Dmod_accesslog.c179 …at_err(log_error_st *errh, const char *file, unsigned int line, format_field *f, const char *msg) { in accesslog_parse_format_err() argument
180 log_error(errh, file, line, "%s", msg); in accesslog_parse_format_err()
H A Dgw_backend.c2683 static void gw_handle_trigger_hctx_timeout(gw_handler_ctx * const hctx, const char * const msg) { in gw_handle_trigger_hctx_timeout() argument
2688 if (*msg == 'c') { /* "connect" */ in gw_handle_trigger_hctx_timeout()
2710 msg, hctx->proc->connection_name->ptr, hctx->fd); in gw_handle_trigger_hctx_timeout()
2712 if (*msg == 'w') { /* "write" */ in gw_handle_trigger_hctx_timeout()
H A Dmod_extforward.c696 … mod_extforward_bad_request (request_st * const r, const unsigned int line, const char * const msg) in mod_extforward_bad_request() argument
700 log_error(r->conf.errh, __FILE__, line, "%s", msg); in mod_extforward_bad_request()
H A Dmod_deflate.c983 if (z->msg != NULL) { in stream_deflate_end()
985 "deflateEnd error ret=%d, msg=%s", rc, z->msg); in stream_deflate_end()
H A Dconfigfile.c1854 …ic int config_tokenizer_err(tokenizer_t *t, const char *file, unsigned int line, const char *msg) { in config_tokenizer_err() argument
1856 t->source, t->line, t->offset - t->line_pos, msg); in config_tokenizer_err()
/lighttpd1.4/
H A DNEWS171 * [core] clarify server.username = "root" error msg
993 * [multiple] clarify error msg when no cert avail
2359 * [core] include lighttpd vers in server started msg
2646 * [mod_rewrite] add more info in error log msg