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

2014-04-04 Thread Paul Wouters
New commits:
commit f58b43e2c3b4089445992d93e46407b8bd84339b
Author: Paul Wouters 
Date:   Sat Apr 5 01:26:24 2014 -0400

pluto: Removal of ipsec_policy.h, cleanup of IDtype and CERTtype registries

ipsec_policy.h contained mostly references to removed "policy socket" code.

This was an old attempt to convey OE IPsec status to applications using a 
kind
of "limited" (readonly) pluto whack socket. Code for this support was 
already
removed. This was all pretty misleading, because for some strange reason the
filename picked was "ipsec_policy.h" but it had nothing to do with IPsec
policy - it was the "policy socket".

This patch removes ipsec_policy.h. It moves the AH_ and ESP_ defines
back to the proper ietf_constants.h / constants.c files. A few files
in lib/ that have not gone back into programs/pluto used to include
ipsec_policy.h. These could include ietf_constants.h instead because
ietf_constants.h was not protected against double includes - so this
protection was added to ietf_constants.h

The enum ipsec_cert_type was renamed to ike_cert_type.
The enum ipsec_id_type was renamed to ike_id_type.
These enums contains both IKEv1 and IKEv2 entries. There is no (real) 
conflict.
(splitting these is very inconvenient, due to some code (eg ipsec_doi.c) not
 having any idea if it was called from ikev1 or ikev2)

___
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

2014-04-04 Thread Paul Wouters
New commits:
commit b5585c377659ef7ab8798930470177ea9c24a204
Merge: 295b235 5ce3dab
Author: Paul Wouters 
Date:   Fri Apr 4 19:04:41 2014 -0400

Merge branch 'master' of vault.libreswan.fi:/srv/src/libreswan

commit 295b2354c57c206bdc3667ad13c04b185e39bf73
Author: Paul Wouters 
Date:   Fri Apr 4 19:03:39 2014 -0400

KLIPS: fix compile on < 3.9 kernels with no PDE()

Also decoupled the versioned #if with NAME_SPACES and made that
a separate #if

commit f811a20d3adf6f81384f201144db85548b3f708f
Author: Paul Wouters 
Date:   Fri Apr 4 16:27:58 2014 -0400

testing: algo-pluto-02 partial cleanup

___
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

2014-04-04 Thread D. Hugh Redelmeier
New commits:
commit 5ce3dab211129d479a8bf518191b1c237a1957a0
Author: D. Hugh Redelmeier 
Date:   Fri Apr 4 18:47:39 2014 -0400

do-while is clearer with braces

___
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

2014-04-04 Thread D. Hugh Redelmeier
New commits:
commit 952db9ad8a998c68561066dc8ce66ce8e130b65d
Author: D. Hugh Redelmeier 
Date:   Fri Apr 4 11:47:29 2014 -0400

improve elegance slightly

___
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

2014-04-04 Thread Paul Wouters
New commits:
commit ff4ea66a8544a738db6d54248239ed68ba08a5d1
Author: Paul Wouters 
Date:   Fri Apr 4 11:37:51 2014 -0400

pluto: fix previous fixup of do_file_authentication()

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