Fixed compiler warning (set but unused variable)
This commit is contained in:
@@ -76,7 +76,7 @@ METHOD(authenticator_t, build, status_t,
|
|||||||
|
|
||||||
id = this->ike_sa->get_my_id(this->ike_sa);
|
id = this->ike_sa->get_my_id(this->ike_sa);
|
||||||
auth = this->ike_sa->get_auth_cfg(this->ike_sa, TRUE);
|
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)
|
if (!private)
|
||||||
{
|
{
|
||||||
DBG1(DBG_IKE, "no private key found for '%Y'", id);
|
DBG1(DBG_IKE, "no private key found for '%Y'", id);
|
||||||
|
|||||||
Reference in New Issue
Block a user