[Swan-commit] Changes to ref refs/heads/master
Paul Wouters
paul at vault.libreswan.fi
Fri Jun 21 01:57:10 EEST 2013
New commits:
commit 20fff025f920ac71ec763fb7f755daf063f446ca
Author: Paul Wouters <pwouters at redhat.com>
Date: Thu Jun 20 18:53:52 2013 -0400
pluto: Simplify Pluto_IsFIPS()
Change Pluto_IsFIPS() to work similarly to Pluto_IsSElinux() by returning
an int with 0,1,2 (disabled,enabled,error).
Don't log when Pluto_IsFIPS() is called in the regular (0,1) case, let
the caller log. As Pluto_IsFIPS() was called twice, we ended up with
two log messages about FIPS being enabled.
We still call it twice, as I am not sure if FIPS would allow me to store
the results of a "fips check" in a local variable.
commit c101361387fb0852800f87453eaa9868c67e418f
Author: Paul Wouters <pwouters at redhat.com>
Date: Thu Jun 20 18:35:32 2013 -0400
libswan: Added Pluto_IsSElinux()
Added int Pluto_IsSElinux(void) which can be used for "ipsec status"
to show whether or not the system is running in SElinux enforcing
mode or not. Currently returns:
/* 0 disabled
* 1 enabled
* 2 indeterminate
*/
commit 40f6f7788301c8fa33af0f3bec1facee927605a1
Author: Paul Wouters <pwouters at redhat.com>
Date: Thu Jun 20 18:34:27 2013 -0400
pluto: Change db_ops_show_status() to return void.
The only caller for it did not use the return type, which was always
0 anyway.
More information about the Swan-commit
mailing list