From: Andreas Steffen Date: Sun, 28 Jan 2007 00:14:50 +0000 (-0000) Subject: unload xauth_module only if XAUTH_DEFAULT_LIB is defined X-Git-Tag: 4.0.7~73 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e43641e712099907c9ee30ebf9f497a930cf5571;p=thirdparty%2Fstrongswan.git unload xauth_module only if XAUTH_DEFAULT_LIB is defined --- diff --git a/src/pluto/xauth.c b/src/pluto/xauth.c index 1947609bdd..3d30ad2279 100644 --- a/src/pluto/xauth.c +++ b/src/pluto/xauth.c @@ -61,6 +61,7 @@ xauth_init(void) void xauth_finalize(void) { +#ifdef XAUTH_DEFAULT_LIB if (xauth_module.handle != NULL) { if (dlclose(xauth_module.handle)) @@ -74,4 +75,5 @@ xauth_finalize(void) ) } } +#endif }