From 222b80522097683456864fae31bc19e24075525a Mon Sep 17 00:00:00 2001 From: "Angelos D. Keromytis" Date: Wed, 23 Jan 2002 22:14:29 +0000 Subject: Actually return the ESP/AH/COMP ground descriptions for policy comparisons -- from cjkim2000@yahoo.com --- sbin/isakmpd/policy.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/sbin/isakmpd/policy.c b/sbin/isakmpd/policy.c index 66f75b6373d..962f8d9e319 100644 --- a/sbin/isakmpd/policy.c +++ b/sbin/isakmpd/policy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: policy.c,v 1.49 2002/01/23 18:09:04 ho Exp $ */ +/* $OpenBSD: policy.c,v 1.50 2002/01/23 22:14:28 angelos Exp $ */ /* $EOM: policy.c,v 1.49 2000/10/24 13:33:39 niklas Exp $ */ /* @@ -1785,6 +1785,15 @@ policy_callback (char *name) if (strcmp (name, "phase1_group_desc") == 0) return phase1_group; + if (strcmp (name, "esp_group_desc") == 0) + return esp_group_desc; + + if (strcmp (name, "ah_group_desc") == 0) + return ah_group_desc; + + if (strcmp (name, "comp_group_desc") == 0) + return comp_group_desc; + return ""; bad: -- cgit v1.2.3