]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Improve the comments related to auth-token-hmac patches
authorDavid Sommerseth <davids@openvpn.net>
Fri, 27 Sep 2019 22:45:36 +0000 (00:45 +0200)
committerGert Doering <gert@greenie.muc.de>
Tue, 1 Oct 2019 11:15:34 +0000 (13:15 +0200)
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>
src/openvpn/auth_token.h
src/openvpn/ssl_common.h

index c10afde91e058f4af79d807c3e1393f2937aa797..4b014d44a746dd229dbd15b03d81399a2592831b 100644 (file)
@@ -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,
index 5e21009e6ff266cdb2bc2e13eec6ecef8562669d..8dd08862d0a4835d83ef156dba684a459bbef728 100644 (file)
@@ -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;