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
external
sofia-sip
Commits
185d204f
Commit
185d204f
authored
Feb 16, 2011
by
Pekka Pessi
Browse files
auth_client.c: do not use strlen() as constant
parent
2c35c210
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
libsofia-sip-ua/iptsec/auth_client.c
libsofia-sip-ua/iptsec/auth_client.c
+1
-1
No files found.
libsofia-sip-ua/iptsec/auth_client.c
View file @
185d204f
...
...
@@ -1130,7 +1130,7 @@ static int auc_digest_save_credentials(auth_client_t *ca,
char
const
*
user
,
char
const
*
pass
)
{
char
prefixed
[
strlen
(
"HA1+"
)
+
sizeof
(
auth_hexmd5_t
)];
char
prefixed
[
4
+
sizeof
(
auth_hexmd5_t
)];
/* "HA1+" and hex */
if
(
!
ca
)
return
-
1
;
...
...
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