~singpolyma/asterisk

8c27f4845651319e6edb07189f9454b5b970960a — Christopher Vollick 2 years ago 9641a83
DTLS Fingerprint and IKS CDATA

Turns out the function wasn't really being used right, but we never
noticed because we never actually ran this code before.
1 files changed, 1 insertions(+), 1 deletions(-)

M channels/chan_motif.c
M channels/chan_motif.c => channels/chan_motif.c +1 -1
@@ 2263,7 2263,7 @@ static int jingle_interpret_ice_udp_transport(struct jingle_session *session, ik
	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);
		dtls_fingerprint = iks_cdata(iks_child(fingerprint_node));
		dtls_setup = iks_find_attrib(fingerprint_node, "setup");
		if (!ast_strlen_zero(dtls_hash) && !ast_strlen_zero(dtls_fingerprint) && !ast_strlen_zero(dtls_setup)) {
			struct ast_rtp_engine_dtls *dtls;