Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
belle-sip
Commits
8abfd2f6
Commit
8abfd2f6
authored
May 24, 2017
by
jehan
Browse files
fix Header Authentication-Info test
parent
2f6c90d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tester/belle_sip_headers_tester.c
tester/belle_sip_headers_tester.c
+1
-1
No files found.
tester/belle_sip_headers_tester.c
View file @
8abfd2f6
...
...
@@ -1194,7 +1194,7 @@ static void test_authentication_info_header(void) {
belle_sip_free
(
l_raw_header
);
L_authentication_info
=
belle_sip_header_authentication_info_parse
(
"Authentication-Info:nextnonce=
\"
WRSE5VkUg7kOjnP5sBZZzsxrsOQ8Eyp6ZNttXIA=
\"
, qop=
\"
auth
\"
, rspauth=
\"
5e8518291c1320989df6966405e0b3d1
\"
, cnonce=
\"
05bc00e63a7794182f9425da9266d00d
\"
, nc=00000001"
);
L_authentication_info
=
belle_sip_header_authentication_info_parse
(
"Authentication-Info:nextnonce=
\"
WRSE5VkUg7kOjnP5sBZZzsxrsOQ8Eyp6ZNttXIA=
\"
, qop=auth , rspauth=
\"
5e8518291c1320989df6966405e0b3d1
\"
, cnonce=
\"
05bc00e63a7794182f9425da9266d00d
\"
, nc=00000001"
);
BC_ASSERT_EQUAL
(
belle_sip_header_authentication_info_get_nonce_count
(
L_authentication_info
),
1
,
int
,
"%i"
);
belle_sip_object_unref
(
BELLE_SIP_OBJECT
(
L_authentication_info
));
...
...
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