New commits:
commit 4a2e776f3f2c047afca2fc5bbf07c48351c666c0
Author: D. Hugh Redelmeier <[email protected]>
Date: Sat Jun 20 05:03:27 2015 -0400
pluto: tidy frag handling
- reverse sense of bool result of ikev2_check_fragment and
ikev2_collect_fragment
so that TRUE means success
- fix send_or_resend_ike_msg's handling of two kinds of fragmentation
- add comments to record hard won learnings
- eliminate unused e_pbs parameter of ikev2_encrypt_msg
- make more generous frag_buffer allocation in ikev2_record_fragment
- start to separate v1 and v2 fragment size limits. Not yet right.
- still needed: separate bounds for size of packet that doesn't
need fragmentation and size of fragment (for v1 and v2)
- use child's state object after calls to ikev2_parent_inI2outR2_auth_tail
(this is critical for emitting packets correctly)
- sprinkle "const" where helpful
- add passerts for certainty
commit b2437d7cdbcbae97ea15cfe282313f148b2b4451
Author: D. Hugh Redelmeier <[email protected]>
Date: Thu Jun 18 01:34:13 2015 -0400
pluto: clarify ikev2_parent_inR1outI2_tail by transformation
- move variable declarations so they can be initializing,
even if that moves them into the middle of code
- sprinkle const
- split some multi-purpose variables
- elminate redundant initializers
- convert magic number 4 to NSIZEOF_isakmp_generic
- eliminate braces for blocks with no local variables and
no control flow implications
- misc. tidying.
commit e252d5fa750588974b2235f5c53635df2a516787
Author: D. Hugh Redelmeier <[email protected]>
Date: Thu Jun 18 01:14:51 2015 -0400
pluto: tweak hostpair.c's comments
commit 21be5df54c2fe46d0af951c3f2b4e0b8860b61ad
Author: D. Hugh Redelmeier <[email protected]>
Date: Thu Jun 18 01:12:46 2015 -0400
pluto: tidy pending.c; scatter const on pointer parameters
commit 95c976189ed30facfe0491da995d4acf6984bd9d
Author: D. Hugh Redelmeier <[email protected]>
Date: Thu Jun 18 01:06:56 2015 -0400
programs/pluto/ikev2_parent.c: eliminate pexpect that was wrong
commit 877b378fa37b4b8d475519fb867972c6060fc940
Author: D. Hugh Redelmeier <[email protected]>
Date: Mon Jun 15 01:22:16 2015 -0400
pluto: find_raw_ifaces4: clear buf to inconvenient value instead of 0
commit 674ba82e8ca84021d6d6e1ceb09cb1cb4c59f4f9
Author: D. Hugh Redelmeier <[email protected]>
Date: Mon Jun 15 01:09:01 2015 -0400
pluto: tidy ikev2_send_auth
_______________________________________________
Swan-commit mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-commit