{
BIO_printf(trc_out,
"(ctx %p) Added decoder instance %p for decoder %p\n"
- " %s with %s\n",
+ " %s with %s (%s)\n",
(void *)ctx, (void *)di, (void *)di->decoder,
OSSL_DECODER_get0_name(di->decoder),
- OSSL_DECODER_get0_properties(di->decoder));
+ OSSL_DECODER_get0_properties(di->decoder),
+ OSSL_DECODER_get0_description(di->decoder));
}
OSSL_TRACE_END(DECODER);
}
{
BIO_printf(trc_out,
"(ctx %p) [%d] Checking out decoder %p:\n"
- " %s with %s\n",
+ " %s with %s (%s)\n",
(void *)data->ctx, data->type_check, (void *)decoder,
OSSL_DECODER_get0_name(decoder),
- OSSL_DECODER_get0_properties(decoder));
+ OSSL_DECODER_get0_properties(decoder),
+ OSSL_DECODER_get0_description(decoder));
}
OSSL_TRACE_END(DECODER);
OSSL_TRACE_BEGIN(DECODER)
{
BIO_printf(trc_out,
- "(ctx %p) %s incoming from previous decoder (%p):\n"
+ "(ctx %p) %s incoming from previous decoder (%p %s):\n"
" data type: %s, data structure: %s%s\n",
(void *)new_data.ctx, LEVEL, (void *)decoder,
+ OSSL_DECODER_get0_description(decoder),
data_type, trace_data_structure,
(trace_data_structure == data_structure
? ""
{
new_decoder_name = OSSL_DECODER_get0_name(new_decoder);
BIO_printf(trc_out,
- "(ctx %p) %s [%u] Considering decoder instance %p (decoder %p):\n"
+ "(ctx %p) %s [%u] Considering decoder instance %p (decoder %p %s):\n"
" %s with %s\n",
(void *)new_data.ctx, LEVEL, (unsigned int)i,
(void *)new_decoder_inst, (void *)new_decoder,
+ OSSL_DECODER_get0_description(new_decoder),
new_decoder_name,
OSSL_DECODER_get0_properties(new_decoder));
}
OSSL_TRACE_BEGIN(DECODER)
{
BIO_printf(trc_out,
- "(ctx %p) %s [%u] the input type doesn't match the name of the previous decoder (%p), skipping...\n",
+ "(ctx %p) %s [%u] the input type doesn't match the name of the previous decoder (%p %s), skipping...\n",
(void *)new_data.ctx, LEVEL, (unsigned int)i,
- (void *)decoder);
+ (void *)decoder,
+ OSSL_DECODER_get0_description(decoder));
}
OSSL_TRACE_END(DECODER);
continue;
OSSL_TRACE_BEGIN(DECODER)
{
BIO_printf(trc_out,
- "(ctx %p) Checking out decoder %p:\n"
+ "(ctx %p) Checking out decoder %p (%s):\n"
" %s with %s\n",
(void *)data->ctx, (void *)decoder,
+ OSSL_DECODER_get0_description(decoder),
OSSL_DECODER_get0_name(decoder),
OSSL_DECODER_get0_properties(decoder));
}
OSSL_TRACE_BEGIN(DECODER)
{
BIO_printf(trc_out,
- "(ctx %p) Checking out decoder %p:\n"
+ "(ctx %p) Checking out decoder %p (%s):\n"
" %s with %s\n",
(void *)data->ctx, (void *)decoder,
+ OSSL_DECODER_get0_description(decoder),
OSSL_DECODER_get0_name(decoder),
OSSL_DECODER_get0_properties(decoder));
}
if (!EVP_KEYMGMT_up_ref(keymgmt))
return;
+ OSSL_TRACE_BEGIN(DECODER)
+ {
+ BIO_printf(trc_out,
+ "(Collecting KeyManager %s %s [id %d]:\n",
+ keymgmt->description, keymgmt->type_name, keymgmt->id);
+ }
+ OSSL_TRACE_END(DECODER);
if (sk_EVP_KEYMGMT_push(data->keymgmts, keymgmt) <= 0) {
EVP_KEYMGMT_free(keymgmt);
data->error_occurred = 1;