diff options
author | brian <brian@FreeBSD.org> | 1999-01-29 22:44:47 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-01-29 22:44:47 +0000 |
commit | fd44edb284ede72a5a37bfc4b35300bb7fda0cef (patch) | |
tree | 6ebedee5496dd45c1c42b3c1a45721b928ba37aa /lib/libradius/radlib_private.h | |
parent | acdb5e92a7e57850893db710ba8c13b12d2a30ea (diff) | |
download | FreeBSD-src-fd44edb284ede72a5a37bfc4b35300bb7fda0cef.zip FreeBSD-src-fd44edb284ede72a5a37bfc4b35300bb7fda0cef.tar.gz |
Install -C radlib.h
Don't insist that RAD_USER_PASSWORD is supplied before
calling rad_send_request(). Instead, insist on only one
of RAD_USER_PASSWORD and RAD_CHAP_PASSWORD.
Sponsored by: Internet Business Solutions Ltd., Switzerland
Diffstat (limited to 'lib/libradius/radlib_private.h')
-rw-r--r-- | lib/libradius/radlib_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libradius/radlib_private.h b/lib/libradius/radlib_private.h index d3301e3..ec181f6 100644 --- a/lib/libradius/radlib_private.h +++ b/lib/libradius/radlib_private.h @@ -74,6 +74,7 @@ struct rad_handle { char pass[PASSSIZE]; /* Cleartext password */ int pass_len; /* Length of cleartext password */ int pass_pos; /* Position of scrambled password */ + unsigned chap_pass : 1; /* Have we got a CHAP_PASSWORD ? */ unsigned char response[MSGSIZE]; /* Response received */ int resp_len; /* Length of response */ int resp_pos; /* Current position scanning attrs */ |