aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2011-12-13 13:42:41 +0100
committerMartin Willi <martin@revosec.ch>2012-03-20 17:31:20 +0100
commit360c3394cfe25d9a531a3e0633683abc7169c1be (patch)
tree75ffc1da739b2146ca1bedc7cc30254500e9181d /src
parentf91b6ac77ae444c92078539b5db477594a6f4a10 (diff)
downloadstrongswan-360c3394cfe25d9a531a3e0633683abc7169c1be.tar.bz2
strongswan-360c3394cfe25d9a531a3e0633683abc7169c1be.tar.xz
Fixed compiler warning (set but unused variable)
Diffstat (limited to 'src')
-rw-r--r--src/libcharon/sa/authenticators/pubkey_v1_authenticator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/sa/authenticators/pubkey_v1_authenticator.c b/src/libcharon/sa/authenticators/pubkey_v1_authenticator.c
index 82fc8cf66..e3e7a8073 100644
--- a/src/libcharon/sa/authenticators/pubkey_v1_authenticator.c
+++ b/src/libcharon/sa/authenticators/pubkey_v1_authenticator.c
@@ -76,7 +76,7 @@ METHOD(authenticator_t, build, status_t,
id = this->ike_sa->get_my_id(this->ike_sa);
auth = this->ike_sa->get_auth_cfg(this->ike_sa, TRUE);
- private = lib->credmgr->get_private(lib->credmgr, KEY_RSA, id, auth);
+ private = lib->credmgr->get_private(lib->credmgr, type, id, auth);
if (!private)
{
DBG1(DBG_IKE, "no private key found for '%Y'", id);