master secret doesn't need to be generated by the server

This commit is contained in:
Nikos Mavrogiannopoulos
2013-02-01 08:13:11 +01:00
parent 92b1d573eb
commit 73c36c31f9
5 changed files with 6 additions and 19 deletions
-1
View File
@@ -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