]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Get rid of last PLUGIN_DEF_AUTH #ifdef
authorGert Doering <gert@greenie.muc.de>
Thu, 1 Apr 2021 08:29:34 +0000 (10:29 +0200)
committerGert Doering <gert@greenie.muc.de>
Thu, 1 Apr 2021 09:57:40 +0000 (11:57 +0200)
Commit 99d217b200 attempted to get rid of all #ifdef related to
--disable-def-auth but one of them managed to hide.  Remove.

The effect of this is that the "openvpn_acf_...tmp" files get not
removed after when an async auth plugin is in use.  This is can
get very annoying on a busy server.

Trac: #1186

Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: Antonio Quartulli <antonio@openvpn.net>
Message-Id: <20210401082934.29922-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg21933.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/ssl.c

index 893e5753d48d0c0028271535d9d5f3ecbd73de45..08222b5e0521fab404d20b3c99ee530579b80227 100644 (file)
@@ -992,9 +992,7 @@ key_state_free(struct key_state *ks, bool clear)
 
     packet_id_free(&ks->crypto_options.packet_id);
 
-#ifdef PLUGIN_DEF_AUTH
     key_state_rm_auth_control_files(ks);
-#endif
 
     if (clear)
     {