diff options
author | Arne Schwabe | 2020-11-30 13:39:28 +0100 |
---|---|---|
committer | Gert Doering | 2020-11-30 16:44:58 +0100 |
commit | f9b73042892c14b906772e72b3116d809457c721 (patch) | |
tree | 62532406b58ea4c55bd0b1b35312aec6d7a323a5 /src/openvpn/error.h | |
parent | f8c3e0aef2f6e03a0a5eafd81644c4079796649d (diff) | |
download | openvpn-f9b73042892c14b906772e72b3116d809457c721.zip openvpn-f9b73042892c14b906772e72b3116d809457c721.tar.gz |
Fix auth-token not being updated if auth-nocache is set
This fixes the auth-token not being updated if auth-nocache is set. Our
set_auth_token method ensures that the auth-token always has a username
but is a little bit too strict in the check.
Also add doxygen documentation and remove null checks. We use this function
only with non-null pointers and it makes it a bit nicer to read.
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20201130123928.21837-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg21291.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit fb789947ab1eba3e68fb8e4b3551d095a53962bd)
Diffstat (limited to 'src/openvpn/error.h')
0 files changed, 0 insertions, 0 deletions