]> git.ipfire.org Git - thirdparty/openvpn.git/commit
cleanup: Remove faulty env processing functions
authorDavid Sommerseth <davids@openvpn.net>
Sat, 25 Feb 2017 02:02:29 +0000 (03:02 +0100)
committerGert Doering <gert@greenie.muc.de>
Sun, 19 Mar 2017 18:43:24 +0000 (19:43 +0100)
commita87f119afcfcc1c855a6ea2ba3d765966f1f2591
treeb5f423360b07e290806f1a3334dead183b9321e9
parent3c748aeb5e4b82c449e7de28846a3915ab45aeec
cleanup: Remove faulty env processing functions

The env_set_add_to_environmenti() and env_set_remove_from_environment()
functions where not used in the code at all and they would cause an
ASSERT() in setenv_str_ex() later on, as it would not allow the
struct env_set *es pointer to be NULL (misc.c:807).

Signed-off-by: David Sommerseth <davids@openvpn.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20170225020229.17287-1-davids@openvpn.net>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg14195.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/misc.c
src/openvpn/misc.h