Home
last modified time | relevance | path

Searched refs:log_cb (Results 1 – 10 of 10) sorted by relevance

/freebsd/crypto/openssl/crypto/cmp/
H A Dcmp_vfy.c285 if (ctx->log_cb != NULL /* logging not temporarily disabled */ in cert_acceptable()
465 OSSL_CMP_log_cb_t backup_log_cb = ctx->log_cb; in check_msg_find_cert()
481 ctx->log_cb = NULL; /* temporarily disable logging */ in check_msg_find_cert()
491 ctx->log_cb = backup_log_cb; in check_msg_find_cert()
499 ctx->log_cb = backup_log_cb; in check_msg_find_cert()
501 ctx->log_cb = NULL; in check_msg_find_cert()
508 ctx->log_cb = backup_log_cb; /* re-enable logging */ in check_msg_find_cert()
518 if (ctx->log_cb != NULL) { in check_msg_find_cert()
H A Dcmp_ctx.c321 if (ctx->log_cb == NULL)
329 if (!ctx->log_cb(func != NULL ? func : "(no func)",
350 if (ctx == NULL || ctx->log_cb == NULL) in ossl_cmp_print_log()
387 res = ctx->log_cb(func, file, line, level, hugebuf); in ossl_cmp_print_log()
401 ctx->log_cb = cb; in OSSL_CMP_CTX_set_log_cb()
418 OSSL_CMP_print_errors_cb(ctx == NULL ? NULL : ctx->log_cb); in OSSL_CMP_CTX_print_errors()
H A Dcmp_local.h36 OSSL_CMP_log_cb_t log_cb; /* log callback for error/debug/etc. output */ member
/freebsd/contrib/wpa/src/tls/
H A Dtlsv1_server_i.h56 void (*log_cb)(void *ctx, const char *msg); member
H A Dtlsv1_server.c42 if (conn->log_cb) in tlsv1_server_log()
43 conn->log_cb(conn->log_cb_ctx, buf); in tlsv1_server_log()
733 conn->log_cb = cb; in tlsv1_server_set_log_cb()
/freebsd/lib/libusb/
H A Dlibusb10.c212 ctx->log_cb = NULL; in libusb_init_context()
251 usbi_default_context->log_cb); in libusb_init_context()
2058 if (ctx->log_cb != NULL) in libusb_log_va_args()
2059 ctx->log_cb(ctx, level, buffer); in libusb_log_va_args()
2159 ctx->log_cb = callback; in libusb_set_option()
2187 usbi_default_context->log_cb = cb; in libusb_set_log_cb()
2191 ctx->log_cb = cb; in libusb_set_log_cb()
H A Dlibusb10.h122 libusb_log_cb log_cb; member
/freebsd/crypto/openssl/test/
H A Dcmp_ctx_test.c159 if (!TEST_true(ctx->log_cb == NULL)) in execute_CTX_print_errors_test()
170 if (!TEST_true(ctx->log_cb == msg_total_size_log_cb)) { in execute_CTX_print_errors_test()
753 DEFINE_SET_CB_TEST(log_cb) in DEFINE_SET_CB_TEST() argument
/freebsd/contrib/wpa/src/crypto/
H A Dtls_internal.c140 void (*log_cb)(void *ctx, const char *msg), in tls_connection_set_log_cb()
145 tlsv1_server_set_log_cb(conn->server, log_cb, ctx); in tls_connection_set_log_cb()
H A Dtls.h633 void (*log_cb)(void *ctx, const char *msg),