Module: sip-router
Branch: 3.1
Commit: 471b7780706efa2086fe2d1a614ec84cb1c4b19d
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=471b778…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Wed Sep 14 10:54:15 2011 +0200
Revert "auth_radius(s): use the update pre_auth"
- reverted invalid backport mistakenly selected
This reverts commit 7c9a316c78c670889ee55772a5d2e8e72a6808d3.
---
modules_s/auth_radius/authorize.c | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/modules_s/auth_radius/authorize.c b/modules_s/auth_radius/authorize.c
index 0027e3c..45809c7 100644
--- a/modules_s/auth_radius/authorize.c
+++ b/modules_s/auth_radius/authorize.c
@@ -173,17 +173,6 @@ static inline int authenticate(struct sip_msg* msg, str* realm,
#ifdef EXTRA_DEBUG
abort();
#endif
- case NONCE_REUSED:
- LM_DBG("nonce reused");
- ret = AUTH_NONCE_REUSED;
- goto end;
- case STALE_NONCE:
- LM_DBG("stale nonce\n");
- ret = AUTH_STALE_NONCE;
- goto end;
- case NO_CREDENTIALS:
- LM_DBG("no credentials\n");
- ret = AUTH_NO_CREDENTIALS;
case ERROR:
case BAD_CREDENTIALS:
ret = -3;