]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
keymat_v2: Fix error message if KDF can't be created
authorTobias Brunner <tobias@strongswan.org>
Fri, 6 May 2022 09:38:08 +0000 (11:38 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 6 May 2022 09:45:10 +0000 (11:45 +0200)
Fixes: f619b833accf ("keymat_v2: Use plugin-provided KDF_PRF to derive SKEYSEED")
References strongswan/strongswan#1026

src/libcharon/sa/ikev2/keymat_v2.c

index fe58de5e0331e7aeafafd2ee8d42cbde284cc455..92174b5b95308e022ace1defd96d943839c47299 100644 (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);