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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user