Changeset 1101 for pjproject/trunk/pjnath/src/pjnath/stun_auth.c
- Timestamp:
- Mar 24, 2007 1:00:30 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/src/pjnath/stun_auth.c
r1089 r1101 160 160 &realm, &nonce, p_response); 161 161 } 162 return PJ NATH_ESTUNMSGINT;162 return PJ_STATUS_FROM_STUN_CODE(PJ_STUN_SC_INTEGRITY_CHECK_FAILURE); 163 163 } 164 164 … … 171 171 &realm, &nonce, p_response); 172 172 } 173 return PJ NATH_ESTUNNOUSERNAME;173 return PJ_STATUS_FROM_STUN_CODE(PJ_STUN_SC_MISSING_USERNAME); 174 174 } 175 175 … … 203 203 &realm, &nonce, p_response); 204 204 } 205 return PJ NATH_ESTUNUSERNAME;205 return PJ_STATUS_FROM_STUN_CODE(PJ_STUN_SC_UNKNOWN_USERNAME); 206 206 } 207 207 … … 218 218 &realm, &nonce, p_response); 219 219 } 220 return PJ NATH_ESTUNNOREALM;220 return PJ_STATUS_FROM_STUN_CODE(PJ_STUN_SC_MISSING_REALM); 221 221 222 222 } else if (realm.slen != 0 && arealm != NULL) { … … 229 229 NULL, &realm, &nonce, p_response); 230 230 } 231 return PJ NATH_ESTUNNONCE;231 return PJ_STATUS_FROM_STUN_CODE(PJ_STUN_SC_MISSING_NONCE); 232 232 } 233 233 … … 239 239 NULL, &realm, &nonce, p_response); 240 240 } 241 return PJ NATH_ESTUNNOREALM;241 return PJ_STATUS_FROM_STUN_CODE(PJ_STUN_SC_MISSING_REALM); 242 242 } 243 243 … … 262 262 NULL, &realm, &nonce, p_response); 263 263 } 264 return PJ NATH_ESTUNNONCE;264 return PJ_STATUS_FROM_STUN_CODE(PJ_STUN_SC_MISSING_NONCE); 265 265 } 266 266 } … … 289 289 NULL, &realm, &nonce, p_response); 290 290 } 291 return PJ NATH_ESTUNNONCE;291 return PJ_STATUS_FROM_STUN_CODE(PJ_STUN_SC_MISSING_NONCE); 292 292 } 293 293 } … … 334 334 NULL, &realm, &nonce, p_response); 335 335 } 336 return PJ NATH_ESTUNMSGINT;336 return PJ_STATUS_FROM_STUN_CODE(PJ_STUN_SC_INTEGRITY_CHECK_FAILURE); 337 337 } 338 338
Note: See TracChangeset
for help on using the changeset viewer.