Re: [Openvpn-devel] [PATCH v2 1/9] Move auth_token_state from multi to key_state

2021-06-10 Thread Antonio Quartulli
Hi, On 20/05/2021 17:11, Arne Schwabe wrote: > The auth-token check is tied to the username/password that is coming > via a specific SSL session, so keep the state also in the key_state > structure. > > This also ensures the auth_token_state is always set to 0 on a new > session since we clear th

[Openvpn-devel] [PATCH v2 1/9] Move auth_token_state from multi to key_state

2021-05-20 Thread Arne Schwabe
The auth-token check is tied to the username/password that is coming via a specific SSL session, so keep the state also in the key_state structure. This also ensures the auth_token_state is always set to 0 on a new session since we clear the key_state object at the start of a new SSL session. Thi