From: Tobias Brunner Date: Mon, 2 Nov 2020 14:43:35 +0000 (+0100) Subject: imv-attestation: Fix typo in default value for hash_algorithm option X-Git-Tag: 5.9.1~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19343998bb48af8428ba855878ded741a8d4db2a;p=thirdparty%2Fstrongswan.git imv-attestation: Fix typo in default value for hash_algorithm option --- diff --git a/src/libimcv/plugins/imv_attestation/imv_attestation_agent.c b/src/libimcv/plugins/imv_attestation/imv_attestation_agent.c index fa7d59fbc6..a1fc6466dc 100644 --- a/src/libimcv/plugins/imv_attestation/imv_attestation_agent.c +++ b/src/libimcv/plugins/imv_attestation/imv_attestation_agent.c @@ -859,7 +859,7 @@ METHOD(imv_agent_if_t, destroy, void, if (this->pts_creds) { this->pts_credmgr->remove_set(this->pts_credmgr, - this->pts_creds->get_set(this->pts_creds)); + this->pts_creds->get_set(this->pts_creds)); this->pts_creds->destroy(this->pts_creds); } DESTROY_IF(this->pts_db); @@ -887,7 +887,7 @@ imv_agent_if_t *imv_attestation_agent_create(const char *name, TNC_IMVID id, } hash_alg = lib->settings->get_str(lib->settings, - "%s.plugins.imv-attestation.hash_algorithm", "sha2384", lib->ns); + "%s.plugins.imv-attestation.hash_algorithm", "sha384", lib->ns); dh_group = lib->settings->get_str(lib->settings, "%s.plugins.imv-attestation.dh_group", "ecp256", lib->ns); mandatory_dh_groups = lib->settings->get_bool(lib->settings,