From patchwork Thu Apr 1 08:29:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Openvpn-devel] Get rid of last PLUGIN_DEF_AUTH #ifdef X-Patchwork-Submitter: Gert Doering X-Patchwork-Id: 1681 Message-Id: <20210401082934.29922-1-gert@greenie.muc.de> To: openvpn-devel@lists.sourceforge.net Date: Thu, 1 Apr 2021 10:29:34 +0200 From: Gert Doering List-Id: 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 Acked-by: Antonio Quartulli --- src/openvpn/ssl.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/openvpn/ssl.c b/src/openvpn/ssl.c index 893e5753..08222b5e 100644 --- a/src/openvpn/ssl.c +++ b/src/openvpn/ssl.c @@ -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) {