[Swan-commit] Changes to ref refs/heads/master

2018-10-28 Thread D. Hugh Redelmeier
New commits:
commit a1485e92caa85bc8215c772983d5c682e0e0905e
Author: D. Hugh Redelmeier 
Date:   Sun Oct 28 22:25:11 2018 -0400

libswan: x509dn.c: simplify, clarify, make more careful ASN.1 Distinguished 
Name decoding

- redo init_rdn()/get_next_rdn()

- never completely ignore errors from init_rdn and get_next_rdn
  (Sometimes the report only goes to the debug log.)

- redo match_dn()

- in string matching, be careful with 0x80 bit.  It means something
  different in each string type.

- eliminate redundant #includes

- reduce scope of autos

- add clarifying comments

- catch more errors

commit 7d213b695fe0c4d84b6a139fea9c8902cae1ed19
Author: D. Hugh Redelmeier 
Date:   Sun Oct 28 22:16:34 2018 -0400

libswan: id.c: same_dn_any_order(): simplify and add (but suppress) 
instrumentation

commit fe495c85a8aebfe4c5ddbddf219ef02d5746ef2e
Author: D. Hugh Redelmeier 
Date:   Sun Oct 28 22:13:43 2018 -0400

pluto: ikev2.c: survive excessive recursion in 
ikev2_decode_peer_id_and_certs()

commit 8dc12c29b483a623875831450b48045f1b4aee08
Author: D. Hugh Redelmeier 
Date:   Sun Oct 28 22:06:07 2018 -0400

pluto: keys.c: make a pair of messages distinct; reduce scope of autos

commit 5ec162076628b4a392e4c966f4203f9bef11
Author: D. Hugh Redelmeier 
Date:   Sun Oct 28 22:02:05 2018 -0400

pluto: ikev2_parent.c: fix misleading indentation

___
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit


[Swan-commit] Changes to ref refs/heads/master

2018-10-28 Thread Paul Wouters
New commits:
commit bcf8c0b21e78895748d669c97c1c030c4a9e504b
Author: Paul Wouters 
Date:   Mon Oct 29 02:37:58 2018 +0100

documentation: updated CHANGES

commit c474d338fac0ef7a59e8589b495e60a855380946
Author: Vukasin Karadzic 
Date:   Mon Oct 29 02:34:44 2018 +0100

IKEv2: tidy PPK code a bit

- remove one redundant DBG log

- remove declaration and freeanychunk that serve no purpose at all

Signed-off-by: Paul Wouters 

commit e7ae110e4887d25e505b377c00a5c55ae36fb265
Author: Vukasin Karadzic 
Date:   Mon Oct 29 02:25:33 2018 +0100

libswan: fix three secrets processing bugs

bug 1: When quotes were not put around PSK/PPK password secret there were
some id_list related leaks. They occured because we first allocate id's
when reading secrets and only then read the secret. There was no freeing
of id's if the reading of actual secret goes bad. This commit fixes that.

bug 2: There was a segmentation fault when PPK is not specified after
PPK_ID. Now it is checked if there is any token after PPK_ID before
continuing.

bug 3: ppk_id was not free'd in one case. Now it is being free'd.

Signed-off-by: Paul Wouters 

___
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit