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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user