]> 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:44:44 +0000 (19:44 +0100)
commit860d79bc4eadd934390829bee0de37e5ded8907a
tree3ded6ca77d63d96a2eb446f19280009f588b63f8
parent0dc790818876dac6e1cf1a82eda8ea15a538a333
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>
(cherry picked from commit a87f119afcfcc1c855a6ea2ba3d765966f1f2591)
src/openvpn/misc.c
src/openvpn/misc.h