/[radius]/radius/radiusd/radutil.c
ViewVC logotype

Diff of /radius/radiusd/radutil.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.41 by gray, Tue Oct 14 07:10:43 2003 UTC revision 1.42 by gray, Sat Nov 1 13:48:18 2003 UTC
# Line 152  attr_to_str(struct obstack *obp, RADIUS_ Line 152  attr_to_str(struct obstack *obp, RADIUS_
152          tmp[AUTH_STRING_LEN-1] = 0;          tmp[AUTH_STRING_LEN-1] = 0;
153          switch (attr->type) {          switch (attr->type) {
154          case TYPE_STRING:          case TYPE_STRING:
155                  if ((attr->value == DA_USER_PASSWORD                  if ((attr->prop & AP_ENCRYPT) && req) {
                      || attr->value == DA_CHAP_PASSWORD) && req) {  
156                          req_decrypt_password(tmp, req, pair);                          req_decrypt_password(tmp, req, pair);
157                          str = tmp;                          str = tmp;
158                  } else                  } else

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26