tnc-ifmap: Get a reference to the client cert as it is also used in an auth config
This commit is contained in:
parent
9483f8ec59
commit
67dc5d393c
|
@ -779,7 +779,7 @@ static bool soap_init(private_tnc_ifmap_soap_t *this)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
DBG1(DBG_TNC, "loaded MAP client certificate from '%s'", client_cert);
|
DBG1(DBG_TNC, "loaded MAP client certificate from '%s'", client_cert);
|
||||||
this->creds->add_cert(this->creds, TRUE, cert);
|
cert = this->creds->add_cert_ref(this->creds, TRUE, cert);
|
||||||
|
|
||||||
/* load MAP client private key */
|
/* load MAP client private key */
|
||||||
if (client_key)
|
if (client_key)
|
||||||
|
|
Loading…
Reference in New Issue