diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2018-11-19 17:44:37 +0100 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2018-11-27 09:56:56 +0300 |
commit | 9de2460f922eba2c8e0ace09be5f42e74a0f0ff7 (patch) | |
tree | d2eeef19252a9ea16dadac64cd4b1eb931b5f679 /accel-pppd/auth/auth_mschap_v1.c | |
parent | 75a880700071b9d8a4a36f7c0beae5220e8c4853 (diff) | |
download | accel-ppp-xebd-9de2460f922eba2c8e0ace09be5f42e74a0f0ff7.tar.gz accel-ppp-xebd-9de2460f922eba2c8e0ace09be5f42e74a0f0ff7.zip |
auth: remove .recv_conf_req from struct ppp_auth_handler_t
This callback isn't used anymore. Let's remove it from all
authentication backends.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd/auth/auth_mschap_v1.c')
-rw-r--r-- | accel-pppd/auth/auth_mschap_v1.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/accel-pppd/auth/auth_mschap_v1.c b/accel-pppd/auth/auth_mschap_v1.c index 67f941c..23b0f0e 100644 --- a/accel-pppd/auth/auth_mschap_v1.c +++ b/accel-pppd/auth/auth_mschap_v1.c @@ -186,13 +186,6 @@ static int lcp_send_conf_req(struct ppp_t *ppp, struct auth_data_t *d, uint8_t * return 1; } -static int lcp_recv_conf_req(struct ppp_t *ppp, struct auth_data_t *d, uint8_t *ptr) -{ - if (*ptr == MSCHAP_V1) - return LCP_OPT_ACK; - return LCP_OPT_NAK; -} - static void chap_send_failure(struct chap_auth_data *ad, char *mschap_error) { struct chap_hdr *hdr = _malloc(sizeof(*hdr) + strlen(mschap_error) + 1); @@ -514,7 +507,6 @@ static struct ppp_auth_handler_t chap = { .init = auth_data_init, .free = auth_data_free, .send_conf_req = lcp_send_conf_req, - .recv_conf_req = lcp_recv_conf_req, .start = chap_start, .finish = chap_finish, .check = chap_check, |