Skip to content

Commit

Permalink
Improve the comments related to auth-token-hmac patches
Browse files Browse the repository at this point in the history
A couple of places the documentation was not clear enough or not even
correct.  Just improve this to avoid confusion later on.

Signed-off-by: David Sommerseth <davids@openvpn.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20190927224536.27480-4-davids@openvpn.net>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg18874.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
  • Loading branch information
dsommers authored and cron2 committed Oct 1, 2019
1 parent f706d00 commit 48a4c81
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/openvpn/auth_token.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ generate_auth_token(const struct user_pass *up, struct tls_multi *multi);
* Verifies the auth token to be in the format that generate_auth_token
* create and checks if the token is valid.
*
* Also calls generate_auth_token to update the auth-token to extend
* its validity
*/
unsigned
verify_auth_token(struct user_pass *up, struct tls_multi *multi,
Expand Down
2 changes: 1 addition & 1 deletion src/openvpn/ssl_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ struct tls_multi
* Auth-token is only valid for an empty username
* and not the username actually supplied from the client
*
* OpenVPN 3 clients sometimes the empty username with a
* OpenVPN 3 clients sometimes wipes or replaces the username with a
* username hint from their config.
*/
int auth_token_state_flags;
Expand Down

0 comments on commit 48a4c81

Please sign in to comment.