]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
pts: Fix error string if mandatory DH group is unavailable
authorTobias Brunner <tobias@strongswan.org>
Mon, 18 May 2026 13:02:08 +0000 (15:02 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 19 May 2026 15:27:33 +0000 (17:27 +0200)
Fixes: 0841280cdde8 ("libimcv: Fix build with DEBUG_LEVEL < 3")
src/libimcv/pts/pts_dh_group.c

index 9b0d5ced764a37d7b5486389e32fd9737f9f3f8d..b5331bfa15907acdff20000e2125bc3ea189ea2b 100644 (file)
@@ -76,7 +76,7 @@ bool pts_dh_group_probe(pts_dh_group_t *dh_groups, bool mandatory_dh_groups)
        }
        if (mandatory_dh_groups)
        {
-               DBG1(DBG_PTS, "  mandatory PTS DH group %N[%s] available",
+               DBG1(DBG_PTS, "  mandatory PTS DH group %N not available",
                         key_exchange_method_names, ECP_256_BIT);
                return FALSE;
        }