]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Remove comparing username to NULL in tls_lock_username
authorArne Schwabe <arne@rfc2549.org>
Tue, 21 Jan 2025 16:12:47 +0000 (17:12 +0100)
committerGert Doering <gert@greenie.muc.de>
Mon, 27 Jan 2025 11:35:40 +0000 (12:35 +0100)
commitd9af13e8c222cba41000202908663a6d1e2cd028
treea93b9fc5b079b4df0b07f54db74874e892cd82e2
parent02412106f406538db6f84fdea223b0972a3e3f41
Remove comparing username to NULL in tls_lock_username

tls_lock_username is only called in a single place and that place
calls this is function with up->username, which is always defined.

Change-Id: Ib8adf7b31cae02e2de3d45da23b76a2d79f13e20
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Message-Id: <20250121161247.37883-1-frank@lichtenheld.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg30520.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/ssl_verify.c