Commit d83123e1 authored by Youness Alaoui's avatar Youness Alaoui

gtalk allocate/send does not need the message-integrity

parent 4e20eb31
......@@ -512,8 +512,13 @@ nice_udp_turn_create_socket_full (
} else {
priv->username = (uint8_t *)g_strdup (username);
priv->username_len = (size_t) strlen (username);
priv->password = (uint8_t *)g_strdup (password);
priv->password_len = (size_t) strlen (password);
if (compatibility == NICE_UDP_TURN_SOCKET_COMPATIBILITY_GOOGLE) {
priv->password = NULL;
priv->password_len = 0;
} else {
priv->password = (uint8_t *)g_strdup (password);
priv->password_len = (size_t) strlen (password);
}
}
priv->server_addr = *server_addr;
priv->compatibility = compatibility;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment