Merge pull request 'Enabled Trace by default, added trace routines to libapps and added setup_trace to all configurable apps.' (#74) from enable_trace_support into master

Reviewed-on: http://13.234.246.121:3000/Neominds/ossl35vx69/pulls/74
This commit is contained in:
2026-07-30 20:46:02 +05:30
committed by neelimap
parent cc16d0b785
commit 1f8cf8b317
43 changed files with 426 additions and 4 deletions
@@ -395,6 +395,14 @@ static int trace_attach_w_callback_cb(int category, int type, const void *data)
}
#endif
void OSSL_trace_unset_all_callbacks(void)
{
int i;
for (i = 0; i < OSSL_TRACE_CATEGORY_NUM; i++) {
OSSL_trace_set_callback(i, NULL, NULL);
}
}
int OSSL_trace_set_callback(int category, OSSL_trace_cb callback, void *data)
{
#ifndef OPENSSL_NO_TRACE