aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/config/proposal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcharon/config/proposal.h')
-rw-r--r--src/libcharon/config/proposal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libcharon/config/proposal.h b/src/libcharon/config/proposal.h
index 77e200acc..7733143a8 100644
--- a/src/libcharon/config/proposal.h
+++ b/src/libcharon/config/proposal.h
@@ -111,8 +111,10 @@ struct proposal_t {
/**
* Strip DH groups from proposal to use it without PFS.
+ *
+ * @param keep group to keep (MODP_NONE to remove all)
*/
- void (*strip_dh)(proposal_t *this);
+ void (*strip_dh)(proposal_t *this, diffie_hellman_group_t keep);
/**
* Compare two proposal, and select a matching subset.