From 9641a83a6b449bfa6271aef87a7a0ece6da0192e Mon Sep 17 00:00:00 2001 From: Christopher Vollick <0@psycoti.ca> Date: Mon, 7 Feb 2022 15:38:45 -0500 Subject: [PATCH] Rename Transport to Fingerprint This code is looking for the wrong tag, which was leading to issues with DTLS session initiation. Thanks to mar-v-in in the Dino community for finding the problem! --- channels/chan_motif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/chan_motif.c b/channels/chan_motif.c index 3885100..eabaedc 100644 --- a/channels/chan_motif.c +++ b/channels/chan_motif.c @@ -2260,7 +2260,7 @@ static int jingle_interpret_ice_udp_transport(struct jingle_session *session, ik ice->set_authentication(rtp, ufrag, pwd); } iks *fingerprint_node; - if ((fingerprint_node = iks_find_with_attrib(transport, "transport", "xmlns", DTLS_NS))) { + if ((fingerprint_node = iks_find_with_attrib(transport, "fingerprint", "xmlns", DTLS_NS))) { char *dtls_hash, *dtls_fingerprint, *dtls_setup; dtls_hash = iks_find_attrib(fingerprint_node, "hash"); dtls_fingerprint = iks_cdata(fingerprint_node); -- 2.38.5