Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asterisk
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Voice
asterisk
Commits
5f01f73f
Commit
5f01f73f
authored
6 years ago
by
George Joseph
Committed by
Gerrit Code Review
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge "SRTP: Lower SDES key lifetime minimum to 2^20"
parents
d9596b50
993ba84c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
res/res_srtp.c
+2
-2
2 additions, 2 deletions
res/res_srtp.c
with
2 additions
and
2 deletions
res/res_srtp.c
+
2
−
2
View file @
5f01f73f
...
...
@@ -980,8 +980,8 @@ static int res_sdp_crypto_parse_offer(struct ast_rtp_instance *rtp, struct ast_s
sdes_lifetime
=
n_lifetime
;
}
/* Accept anything above
10
hours. Less than
10
; reject. */
if
(
sdes_lifetime
<
1
800000
)
{
/* Accept anything above
~5.8
hours. Less than
~5.8
; reject. */
if
(
sdes_lifetime
<
1
048576
)
{
ast_log
(
LOG_NOTICE
,
"Rejecting crypto attribute '%s': lifetime '%f' too short
\n
"
,
attr
,
sdes_lifetime
);
continue
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment