make peer IP address and peer IP available to the xauth_module.verify_secret() method

This commit is contained in:
Andreas Steffen
2008-04-02 19:04:45 +00:00
parent 97da3d2de0
commit f342cc08c0
4 changed files with 20 additions and 6 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ xauth_init(void)
DBG_log("xauth module: found get_secret() function");
}
)
xauth_module.verify_secret = (bool (*) (const char*, const xauth_t*))
xauth_module.verify_secret = (bool (*) (const xauth_peer_t*, const xauth_t*))
dlsym(xauth_module.handle, "verify_secret");
DBG(DBG_CONTROL,
if (xauth_module.verify_secret != NULL)