]> git.ipfire.org Git - thirdparty/openvpn.git/commit
remove bogus file check on --genkey argument
authorAntonio Quartulli <a@unstable.cc>
Mon, 20 Apr 2020 10:21:02 +0000 (12:21 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 20 Apr 2020 10:28:04 +0000 (12:28 +0200)
commitc40679fbb051228f6c5108adaa9f6fc6929b1e0f
treea1b9889311dd87978cb6db107dac73839d798e20
parent9cf7b4925a54d93fbea1cadcf3dc0e11f3ce358f
remove bogus file check on --genkey argument

When invoking openvpn as standalone with the --genkey
argument, options_postprocess() is not called at all
because do_genkey() takes over the execution earlier.

For this reason, checking the --genkey argument in
options_postprocess_filechecks() is a no-op.

Geti rid of the bogus check altogether.

Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20200420102102.20981-1-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg19795.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/options.c