On Tue, Jun 26, 2012 at 8:05 PM, Alon Bar-Lev <alon.bar...@gmail.com> wrote: > Currently openvpn requires/endorses specifying full path in plugin > parameter. As build system already aware of plugin location, it is > possible to load plugin relative to this directory, so full path is not > required nor more secured. > > Windows is a little more complex as user may change installation > directory at install time, so we read plugindir location from the > registry, installer will set this value. > > This replaces the old unused logic of the PLUGIN_LIBDIR macro. > > The old unused logic of ENABLE_PLUGIN_SEARCH is also removed as plugins > are relative to the plugindir. > > Signed-off-by: Alon Bar-Lev <alon.bar...@gmail.com> > --- > src/openvpn/Makefile.am | 1 + > src/openvpn/options.c | 3 + > src/openvpn/plugin.c | 102 > +++++++++++++++++++++++++++++++---------------- > 3 files changed, 72 insertions(+), 34 deletions(-)
Yes, I don't know why I keep doing this to my-self so with the current attitude. But every place I look I find stuff that should be modified.