keymat_v2: Fix error message if KDF can't be created

Fixes: f619b833ac ("keymat_v2: Use plugin-provided KDF_PRF to derive SKEYSEED")
References strongswan/strongswan#1026
This commit is contained in:
Tobias Brunner
2022-05-06 11:45:10 +02:00
parent cc094c30d1
commit 4de8b81dea
+1 -1
View File
@@ -336,7 +336,7 @@ METHOD(keymat_v2_t, derive_ike_keys, bool,
{
DBG1(DBG_IKE, "%N with %N not supported",
key_derivation_function_names, KDF_PRF,
pseudo_random_function_names, rekey_function);
pseudo_random_function_names, this->prf_alg);
chunk_clear(&secret);
chunk_free(&full_nonce);
chunk_free(&fixed_nonce);