From: Martin Willi Date: Tue, 13 Dec 2011 12:42:41 +0000 (+0100) Subject: Fixed compiler warning (set but unused variable) X-Git-Tag: 5.0.0~338^2~9^2~233 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=360c3394cfe25d9a531a3e0633683abc7169c1be;p=thirdparty%2Fstrongswan.git Fixed compiler warning (set but unused variable) --- diff --git a/src/libcharon/sa/authenticators/pubkey_v1_authenticator.c b/src/libcharon/sa/authenticators/pubkey_v1_authenticator.c index 82fc8cf66b..e3e7a80737 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);