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
@@ -647,7 +647,7 @@ xauth_get_secret(xauth_t *xauth_secret)
* find a matching secret
*/
static bool
xauth_verify_secret(const char *conn_name, const xauth_t *xauth_secret)
xauth_verify_secret(const xauth_peer_t *peer, const xauth_t *xauth_secret)
{
bool found = FALSE;
secret_t *s;