MCPcopy Create free account
hub / github.com/cisco/libsrtp / srtp_crypto_kernel_set_debug_module

Function srtp_crypto_kernel_set_debug_module

crypto/kernel/crypto_kernel.c:544–559  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

542}
543
544srtp_err_status_t srtp_crypto_kernel_set_debug_module(const char *name, int on)
545{
546 srtp_kernel_debug_module_t *kdm;
547
548 /* walk down list, checking if this type is in the list already */
549 kdm = crypto_kernel.debug_module_list;
550 while (kdm != NULL) {
551 if (strncmp(name, kdm->mod->name, 64) == 0) {
552 kdm->mod->on = on;
553 return srtp_err_status_ok;
554 }
555 kdm = kdm->next;
556 }
557
558 return srtp_err_status_fail;
559}

Callers 2

mainFunction · 0.85
srtp_set_debug_moduleFunction · 0.85

Calls

no outgoing calls

Tested by 1

mainFunction · 0.68