Home
last modified time | relevance | path

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

/openssl/crypto/cmp/
H A Dcmp_vfy.c282 if (ctx->log_cb != NULL /* logging not temporarily disabled */ in cert_acceptable()
469 OSSL_CMP_log_cb_t backup_log_cb = ctx->log_cb; in check_msg_find_cert()
485 ctx->log_cb = NULL; /* temporarily disable logging */ in check_msg_find_cert()
493 ctx->log_cb = backup_log_cb; in check_msg_find_cert()
507 ctx->log_cb = backup_log_cb; 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()
385 res = ctx->log_cb(func, file, line, level, hugebuf); in ossl_cmp_print_log()
399 ctx->log_cb = cb; in OSSL_CMP_CTX_set_log_cb()
416 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
/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()
749 DEFINE_SET_CB_TEST(log_cb) in DEFINE_SET_CB_TEST() argument

Completed in 17 milliseconds