Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
freediameter
Commits
d8f5ec37
Commit
d8f5ec37
authored
Aug 27, 2012
by
Sebastien Decugis
Browse files
Removed a few compilation warnings
parent
4a2a6d7a
Changes
2
Hide whitespace changes
Inline
Side-by-side
extensions/app_radgw/rgwx_sip.c
View file @
d8f5ec37
...
...
@@ -329,10 +329,7 @@ static int sip_rad_req( struct rgwp_config * cs, struct session ** session, stru
int
got_Drealm
=
0
;
int
got_Duri
=
0
;
int
got_Dmethod
=
0
;
int
got_Dqop
=
0
;
int
got_Dnonce_count
=
0
;
int
got_Dnonce
=
0
;
int
got_Dcnonce
=
0
;
int
got_Dresponse
=
0
;
int
got_Dalgorithm
=
0
;
os0_t
sid
=
NULL
;
...
...
@@ -385,12 +382,12 @@ static int sip_rad_req( struct rgwp_config * cs, struct session ** session, stru
case
RADIUS_ATTR_DIGEST_METHOD
:
got_Dmethod
=
1
;
break
;
case
RADIUS_ATTR_DIGEST_QOP
:
got_Dqop
=
1
;
break
;
case
RADIUS_ATTR_DIGEST_NONCE_COUNT
:
got_Dnonce_count
=
1
;
break
;
//
case RADIUS_ATTR_DIGEST_QOP:
//
got_Dqop = 1;
//
break;
//
case RADIUS_ATTR_DIGEST_NONCE_COUNT:
//
got_Dnonce_count = 1;
//
break;
case
RADIUS_ATTR_DIGEST_NONCE
:
got_Dnonce
=
1
;
...
...
@@ -405,9 +402,9 @@ static int sip_rad_req( struct rgwp_config * cs, struct session ** session, stru
break
;
case
RADIUS_ATTR_DIGEST_CNONCE
:
got_Dcnonce
=
1
;
break
;
//
case RADIUS_ATTR_DIGEST_CNONCE:
//
got_Dcnonce = 1;
//
break;
case
RADIUS_ATTR_DIGEST_RESPONSE
:
got_Dresponse
=
1
;
break
;
...
...
@@ -743,7 +740,6 @@ static int sip_diam_ans( struct rgwp_config * cs, struct session * session, stru
struct
avp_hdr
*
ahdr
,
*
sid
;
//char buf[254]; /* to store some attributes values (with final '\0') */
unsigned
char
*
req_sip
=
NULL
;
int
in_success
=
0
;
TRACE_ENTRY
(
"%p %p %p %p %p"
,
cs
,
session
,
diam_ans
,
rad_fw
,
cli
);
CHECK_PARAMS
(
cs
&&
session
&&
diam_ans
&&
*
diam_ans
&&
rad_fw
&&
*
rad_fw
);
...
...
@@ -800,7 +796,7 @@ static int sip_diam_ans( struct rgwp_config * cs, struct session * session, stru
case
ER_DIAMETER_SUCCESS_SERVER_NAME_NOT_STORED
:
case
ER_DIAMETER_SUCCESS
:
(
*
rad_fw
)
->
hdr
->
code
=
RADIUS_CODE_ACCESS_ACCEPT
;
in_success
=
1
;
//
in_success=1;
break
;
default:
...
...
libfdcore/cnxctx.c
View file @
d8f5ec37
...
...
@@ -1295,7 +1295,7 @@ int fd_tls_verify_credentials_2(gnutls_session_t session)
break
;
#ifdef
ENABLE_SRP
#if
(
def
ined(
ENABLE_SRP
) || defined(GNUTLS_VERSION_300))
case
GNUTLS_CRD_SRP
:
fd_log_debug
(
"
\t
- SRP session with username %s
\n
"
,
gnutls_srp_server_get_username
(
session
));
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment