Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
libnice
Commits
32bf4b28
Commit
32bf4b28
authored
Dec 23, 2013
by
Olivier Crête
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stun: Indications are never authentication when using long term auth
parent
39023ed4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
socket/turn.c
socket/turn.c
+0
-1
stun/stunagent.c
stun/stunagent.c
+2
-1
No files found.
socket/turn.c
View file @
32bf4b28
...
...
@@ -193,7 +193,6 @@ nice_turn_socket_new (GMainContext *ctx, NiceAddress *addr,
}
else
if
(
compatibility
==
NICE_TURN_SOCKET_COMPATIBILITY_OC2007
)
{
stun_agent_init
(
&
priv
->
agent
,
STUN_ALL_KNOWN_ATTRIBUTES
,
STUN_COMPATIBILITY_OC2007
,
STUN_AGENT_USAGE_NO_INDICATION_AUTH
|
STUN_AGENT_USAGE_LONG_TERM_CREDENTIALS
|
STUN_AGENT_USAGE_NO_ALIGNED_ATTRIBUTES
);
}
...
...
stun/stunagent.c
View file @
32bf4b28
...
...
@@ -193,7 +193,8 @@ StunValidationStatus stun_agent_validate (StunAgent *agent, StunMessage *msg,
STUN_MESSAGE_RETURN_SUCCESS
&&
(
error_code
==
400
||
error_code
==
401
))
||
(
stun_message_get_class
(
msg
)
==
STUN_INDICATION
&&
(
agent
->
usage_flags
&
STUN_AGENT_USAGE_NO_INDICATION_AUTH
));
(
agent
->
usage_flags
&
STUN_AGENT_USAGE_LONG_TERM_CREDENTIALS
||
agent
->
usage_flags
&
STUN_AGENT_USAGE_NO_INDICATION_AUTH
));
if
(
key
==
NULL
&&
ignore_credentials
==
0
&&
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment