Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
videolan
vlc-1.1
Commits
01bde5c1
Commit
01bde5c1
authored
Dec 12, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtspreal: no need to compute the values of this array.
parent
cbba447e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
modules/access/rtsp/real.c
modules/access/rtsp/real.c
+7
-9
No files found.
modules/access/rtsp/real.c
View file @
01bde5c1
...
@@ -276,18 +276,16 @@ static void calc_response (char *result, char *field) {
...
@@ -276,18 +276,16 @@ static void calc_response (char *result, char *field) {
}
}
static
void
calc_response_string
(
char
*
result
,
char
*
challenge
)
{
static
void
calc_response_string
(
char
*
result
,
char
*
challenge
)
{
char
field
[
128
];
char
field
[
128
]
=
{
0x01
,
0x23
,
0x45
,
0x67
,
0x89
,
0xAB
,
0xCD
,
0xEF
,
0xFE
,
0xDC
,
0xBA
,
0x98
,
0x76
,
0x54
,
0x32
,
0x10
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
};
char
zres
[
20
];
char
zres
[
20
];
int
i
;
int
i
;
/* initialize our field */
BE_32C
(
field
,
0x01234567
);
BE_32C
((
field
+
4
),
0x89ABCDEF
);
BE_32C
((
field
+
8
),
0xFEDCBA98
);
BE_32C
((
field
+
12
),
0x76543210
);
BE_32C
((
field
+
16
),
0x00000000
);
BE_32C
((
field
+
20
),
0x00000000
);
/* calculate response */
/* calculate response */
call_hash
(
field
,
challenge
,
64
);
call_hash
(
field
,
challenge
,
64
);
calc_response
(
zres
,
field
);
calc_response
(
zres
,
field
);
...
...
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