diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2019-05-11 16:30:24 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2019-05-11 16:30:24 +0000 |
commit | 8418aabe4f347e87b8918a840afc2e37638b61a4 (patch) | |
tree | 089751860d2b180bbc48d257841bb0bde2e10884 /sbin/iked/iked.c | |
parent | 30ce14364c76e910724541dd41455566ceb351e5 (diff) |
Add support for IKEv2 Message Fragmentation as defined in RFC 7383.
ok sthen@
Diffstat (limited to 'sbin/iked/iked.c')
-rw-r--r-- | sbin/iked/iked.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/iked/iked.c b/sbin/iked/iked.c index 5669f5a45b0..b417ad8ddf7 100644 --- a/sbin/iked/iked.c +++ b/sbin/iked/iked.c @@ -1,6 +1,7 @@ -/* $OpenBSD: iked.c,v 1.36 2017/11/27 18:39:35 patrick Exp $ */ +/* $OpenBSD: iked.c,v 1.37 2019/05/11 16:30:23 patrick Exp $ */ /* + * Copyright (c) 2019 Tobias Heider <tobias.heider@stusta.de> * Copyright (c) 2010-2013 Reyk Floeter <reyk@openbsd.org> * * Permission to use, copy, modify, and distribute this software for any @@ -251,6 +252,7 @@ parent_configure(struct iked *env) fatal("pledge"); config_setmobike(env); + config_setfragmentation(env); config_setcoupled(env, env->sc_decoupled ? 0 : 1); config_setmode(env, env->sc_passive ? 1 : 0); config_setocsp(env); @@ -282,6 +284,7 @@ parent_reload(struct iked *env, int reset, const char *filename) config_setcompile(env, PROC_IKEV2); config_setmobike(env); + config_setfragmentation(env); config_setcoupled(env, env->sc_decoupled ? 0 : 1); config_setmode(env, env->sc_passive ? 1 : 0); config_setocsp(env); |