diff options
author | 2015-07-27 03:01:22 +0000 | |
---|---|---|
committer | 2015-07-27 03:01:22 +0000 | |
commit | 4551b1619b8671a965c14a2806cc8eff79864fe4 (patch) | |
tree | 2988c12d5c9568991a4e1d9f93a0e4be519fa9dc | |
parent | Rename radius.3 to radius_new_request_packet.3 to be named after a (diff) | |
download | wireguard-openbsd-4551b1619b8671a965c14a2806cc8eff79864fe4.tar.xz wireguard-openbsd-4551b1619b8671a965c14a2806cc8eff79864fe4.zip |
Add a description about radius_get_eap_msk().
-rw-r--r-- | lib/libradius/radius.c | 5 | ||||
-rw-r--r-- | lib/libradius/radius_new_request_packet.3 | 7 |
2 files changed, 8 insertions, 4 deletions
diff --git a/lib/libradius/radius.c b/lib/libradius/radius.c index 45a9efc0871..19e3d7a0364 100644 --- a/lib/libradius/radius.c +++ b/lib/libradius/radius.c @@ -1,4 +1,4 @@ -/* $OpenBSD: radius.c,v 1.1 2015/07/20 23:52:29 yasuoka Exp $ */ +/* $OpenBSD: radius.c,v 1.2 2015/07/27 03:01:22 yasuoka Exp $ */ /*- * Copyright (c) 2009 Internet Initiative Japan Inc. @@ -45,8 +45,7 @@ static uint8_t radius_id_counter = 0; static int -radius_check_packet_data(const RADIUS_PACKET_DATA * pdata, - size_t length) +radius_check_packet_data(const RADIUS_PACKET_DATA * pdata, size_t length) { const RADIUS_ATTRIBUTE *attr; const RADIUS_ATTRIBUTE *end; diff --git a/lib/libradius/radius_new_request_packet.3 b/lib/libradius/radius_new_request_packet.3 index 5168f4ace91..b707d018936 100644 --- a/lib/libradius/radius_new_request_packet.3 +++ b/lib/libradius/radius_new_request_packet.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: radius_new_request_packet.3,v 1.1 2015/07/27 02:27:32 yasuoka Exp $ +.\" $OpenBSD: radius_new_request_packet.3,v 1.2 2015/07/27 03:01:22 yasuoka Exp $ .\" .\" Copyright (c) 2009 Internet Initiative Japan Inc. .\" All rights reserved. @@ -312,6 +312,11 @@ and .Fn radius_put_mppe_recv_key_attr are shortcuts of combination of encrypt/decrypt functions and get/put functions. +.Pp +.Fn radius_get_eap_msk +retrieves a Master Session Key (MSK) for Extensible Authentication Protocol +(EAP). +Currently retrieving a MSK from MS-MPPE key attributes is supported. .Sh SENDING AND RECEIVING PACKETS There exist helper functions to sending and receiving packets. .Pp |