implemented reauthentication using the new reauth=yes|no parameter

This commit is contained in:
Martin Willi
2006-12-19 07:30:07 +00:00
parent 4986554f1a
commit 6fe03b0af0
20 changed files with 210 additions and 67 deletions
+1
View File
@@ -107,6 +107,7 @@ static int add_connection(char *name,
msg.add_conn.name = push_string(&msg, name);
msg.add_conn.ikev2 = 1;
msg.add_conn.rekey.reauth = 0;
msg.add_conn.rekey.ipsec_lifetime = 0;
msg.add_conn.rekey.ike_lifetime = 0;
msg.add_conn.rekey.margin = 0;
+1
View File
@@ -142,6 +142,7 @@ struct stroke_msg_t {
char *esp;
} algorithms;
struct {
int reauth;
time_t ipsec_lifetime;
time_t ike_lifetime;
time_t margin;