mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-14 02:22:03 +08:00
master secret doesn't need to be generated by the server
This commit is contained in:
@@ -193,7 +193,6 @@ static int recv_auth_reply(worker_st *ws)
|
||||
memcpy(ws->tun_name, resp.vname, sizeof(ws->tun_name));
|
||||
memcpy(ws->username, resp.user, sizeof(ws->username));
|
||||
memcpy(ws->cookie, resp.cookie, sizeof(ws->cookie));
|
||||
memcpy(ws->master_secret, resp.master_secret, sizeof(ws->master_secret));
|
||||
memcpy(ws->session_id, resp.session_id, sizeof(ws->session_id));
|
||||
ws->auth_ok = 1;
|
||||
} else
|
||||
|
||||
Reference in New Issue
Block a user