From: Tobias Brunner Date: Fri, 6 May 2022 09:38:08 +0000 (+0200) Subject: keymat_v2: Fix error message if KDF can't be created X-Git-Tag: 5.9.7dr1~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4de8b81deadde7fee71f900e431be5717c64db3d;p=thirdparty%2Fstrongswan.git keymat_v2: Fix error message if KDF can't be created Fixes: f619b833accf ("keymat_v2: Use plugin-provided KDF_PRF to derive SKEYSEED") References strongswan/strongswan#1026 --- diff --git a/src/libcharon/sa/ikev2/keymat_v2.c b/src/libcharon/sa/ikev2/keymat_v2.c index fe58de5e03..92174b5b95 100644 --- a/src/libcharon/sa/ikev2/keymat_v2.c +++ b/src/libcharon/sa/ikev2/keymat_v2.c @@ -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);