]> git.ipfire.org Git - thirdparty/openvpn.git/commit
auth-gen-token: Push generated auth-tokens to the client
authorDavid Sommerseth <davids@openvpn.net>
Fri, 28 Oct 2016 19:48:43 +0000 (21:48 +0200)
committerDavid Sommerseth <davids@openvpn.net>
Mon, 31 Oct 2016 11:06:25 +0000 (12:06 +0100)
commit2c0403ac359097bbcb1e97b777120e218e29014f
treec76be0131114ade7af88bdd2e1f988181bd9aba5
parent270dc91164013eb7ace34d7b098fa11a97aef847
auth-gen-token: Push generated auth-tokens to the client

If --auth-gen-token has been enabled and a token has been generated,
ensure this token is pushed to the client using the 'auth-token' option.

This patch will also remove the logging of auth-token values being
pushed, unless --verb level is 7 or higher.

  v2 - Don't exceed 80 chars line length
     - Clarify the magic in sanitize_control_message()
     - Relocate auth_token_sent struct member slightly

Signed-off-by: David Sommerseth <davids@openvpn.net>
Acked-by: Steffan Karger <steffan@karger.me>
Message-Id: <1477684124-26083-5-git-send-email-davids@openvpn.net>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg12824.html
src/openvpn/misc.c
src/openvpn/push.c
src/openvpn/ssl_common.h