Inserted missing "!" mark
Changed variable name for AIK cert, key paths in strongswan.conf
This commit is contained in:
committed by
Andreas Steffen
parent
d3b0c23c24
commit
517c372a5a
@@ -177,9 +177,9 @@ static void load_aik(private_pts_t *this)
|
||||
char *cert_path, *key_path;
|
||||
|
||||
cert_path = lib->settings->get_str(lib->settings,
|
||||
"libimcv.plugins.imc-attestation.aik_cert", NULL);
|
||||
"libimcv.plugins.imc-attestation.aikcert", NULL);
|
||||
key_path = lib->settings->get_str(lib->settings,
|
||||
"libimcv.plugins.imc-attestation.aik_key", NULL);
|
||||
"libimcv.plugins.imc-attestation.aikkey", NULL);
|
||||
|
||||
if (cert_path)
|
||||
{
|
||||
|
||||
@@ -115,7 +115,7 @@ METHOD(pa_tnc_attr_t, build, void,
|
||||
{
|
||||
flags |= PTS_AIK_FLAGS_NAKED_KEY;
|
||||
}
|
||||
if (this->aik->get_encoding(this->aik, CERT_ASN1_DER, &aik_blob))
|
||||
if (!this->aik->get_encoding(this->aik, CERT_ASN1_DER, &aik_blob))
|
||||
{
|
||||
DBG1(DBG_TNC, "encoding of Attestation Identity Key failed");
|
||||
aik_blob = chunk_empty;
|
||||
|
||||
Reference in New Issue
Block a user