fixed pts_probe_dh_groups warning
authorAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 7 Oct 2011 06:04:31 +0000 (08:04 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 28 Nov 2011 13:34:21 +0000 (14:34 +0100)
src/libpts/pts/pts_dh_group.c

index 92f0984..0e22dfe 100644 (file)
@@ -26,7 +26,7 @@ bool pts_probe_dh_groups(pts_dh_group_t *groups)
        diffie_hellman_group_t dh_group;
        const char *plugin_name;
        char format1[] = "  %s PTS Diffie Hellman Group %N[%s] available";
-       char format2[] = "  %s PTS Diffie Hellman Group %N[%s] not available";
+       char format2[] = "  %s PTS Diffie Hellman Group %N not available";
        
        *groups = 0;
 
@@ -72,7 +72,7 @@ bool pts_probe_dh_groups(pts_dh_group_t *groups)
        }
        else
        {
-               DBG1(DBG_PTS, format2, "mandatory", diffie_hellman_group_names, ECP_256_BIT, plugin_name);
+               DBG1(DBG_PTS, format2, "mandatory", diffie_hellman_group_names, ECP_256_BIT);
        }
 
        return FALSE;