summaryrefslogtreecommitdiffstats
path: root/lib/libradius/radlib.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2002-06-12 00:21:07 +0000
committerbrian <brian@FreeBSD.org>2002-06-12 00:21:07 +0000
commit900ca326699fe7cba94c534173fd85d67cf1cef7 (patch)
tree79d1bcfaed665df1da22adebe3ca6d09c471e256 /lib/libradius/radlib.h
parent78fa6fde27e14770f1580e9d55a743a3654be4d9 (diff)
downloadFreeBSD-src-900ca326699fe7cba94c534173fd85d67cf1cef7.zip
FreeBSD-src-900ca326699fe7cba94c534173fd85d67cf1cef7.tar.gz
Add the following functions:
rad_request_authenticator() Returns the Request-Authenticator relevant to the most recently received RADIUS response. rad_server_secret() Returns the Shared Secret relevant to the most recently received RADIUS response. Neither of these functions should be necessary, however, the MS-MPPE-Recv-Key and MS-MPPE-Send-Key Microsoft Vendor Specific attributes are supplied in a mangled (encrypted) format, requiring this information to demangle. It's not clear whether these functions should be replaced with a rad_demangle() function or whether these attributes are one-offs. Sponsored by: Monzoon
Diffstat (limited to 'lib/libradius/radlib.h')
-rw-r--r--lib/libradius/radlib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libradius/radlib.h b/lib/libradius/radlib.h
index 9a737b4..8d04d98 100644
--- a/lib/libradius/radlib.h
+++ b/lib/libradius/radlib.h
@@ -190,7 +190,10 @@ int rad_put_attr(struct rad_handle *, int,
int rad_put_int(struct rad_handle *, int, u_int32_t);
int rad_put_string(struct rad_handle *, int,
const char *);
+ssize_t rad_request_authenticator(struct rad_handle *, char *,
+ size_t);
int rad_send_request(struct rad_handle *);
+const char *rad_server_secret(struct rad_handle *);
const char *rad_strerror(struct rad_handle *);
__END_DECLS
OpenPOWER on IntegriCloud