diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2008-04-02 19:04:45 +0000 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2008-04-02 19:04:45 +0000 |
commit | f342cc08c0279fa0f3f126d0cacb95cdb7d16da4 (patch) | |
tree | dcdcec243c7006e1a01c2022bf6e8db54477f52b /src/pluto/xauth.c | |
parent | 97da3d2de03fc866ddd0659aa7e7a6a268741f1a (diff) | |
download | strongswan-f342cc08c0279fa0f3f126d0cacb95cdb7d16da4.tar.bz2 strongswan-f342cc08c0279fa0f3f126d0cacb95cdb7d16da4.tar.xz |
make peer IP address and peer IP available to the xauth_module.verify_secret() method
Diffstat (limited to 'src/pluto/xauth.c')
-rw-r--r-- | src/pluto/xauth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pluto/xauth.c b/src/pluto/xauth.c index 4c82a37d5..31ffcc378 100644 --- a/src/pluto/xauth.c +++ b/src/pluto/xauth.c @@ -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) |