TT#97301 fix removal of debug_srtp

closes #1162

Change-Id: I02b81a6f9d9fd6910ce6ed2995bfba16d59b027e
pull/1164/head
Richard Fuchs 5 years ago
parent c69415ba45
commit e9bdbb1ee6

@ -424,7 +424,7 @@ int crypto_gen_session_key(struct crypto_context *c, str *out, unsigned char lab
prf_n(out, c->params.master_key, c->params.crypto_suite->lib_cipher_ptr, x);
ilogs(internals, LOG_DEBUG, "Generated session key: master key "
ilogs(srtp, LOG_DEBUG, "Generated session key: master key "
"%02x%02x%02x%02x..., "
"master salt "
"%02x%02x%02x%02x..., "

@ -389,7 +389,7 @@ static void options(int *argc, char ***argv) {
AUTO_CLEANUP_GBUF(dtls_sig);
double silence_detect = 0;
AUTO_CLEANUP_GVBUF(cn_payload);
int debug_srtp;
int debug_srtp = 0;
GOptionEntry e[] = {
{ "table", 't', 0, G_OPTION_ARG_INT, &rtpe_config.kernel_table, "Kernel table to use", "INT" },

@ -211,7 +211,7 @@ INLINE void crypto_params_sdes_queue_clear(GQueue *q) {
INLINE void crypto_debug_init(int flag) {
if (rtpe_config.common.log_levels[log_level_index_srtp] < LOG_NOTICE)
if (rtpe_config.common.log_levels[log_level_index_srtp] < LOG_DEBUG)
return;
if (crypto_debug_string)
g_string_free(crypto_debug_string, TRUE);

Loading…
Cancel
Save