attestatiom-imv and does not initialize libstrongswan which causes crash due to calls to PTS algorithms probing APIs. So this patch fixes the order of initialization. This issues does not occur with charon because libstrongswan gets initialized earlier. - Patch that allows to outputs errors when there are permission issues when accessing strongswan.conf. - Patch to make loading of modules configurable when libimcv is used in stand alone mode without charon with freeradius and wpa_supplicant.
31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
diff -urNp strongswan-5.0.4-patched/src/libstrongswan/utils/settings.c strongswan-5.0.4-current/src/libstrongswan/utils/settings.c
|
|
--- strongswan-5.0.4-patched/src/libstrongswan/utils/settings.c 2013-05-01 15:50:51.337560745 -0400
|
|
+++ strongswan-5.0.4-current/src/libstrongswan/utils/settings.c 2013-06-18 13:13:27.801428152 -0400
|
|
@@ -940,7 +940,7 @@ static bool parse_file(linked_list_t *co
|
|
{
|
|
if (errno == ENOENT)
|
|
{
|
|
- DBG2(DBG_LIB, "'%s' does not exist, ignored", file);
|
|
+ DBG1(DBG_LIB, "'%s' does not exist, ignored", file);
|
|
return TRUE;
|
|
}
|
|
DBG1(DBG_LIB, "failed to stat '%s': %s", file, strerror(errno));
|
|
@@ -1003,7 +1003,7 @@ static bool parse_files(linked_list_t *c
|
|
|
|
if (!strlen(pattern))
|
|
{
|
|
- DBG2(DBG_LIB, "empty include pattern, ignored");
|
|
+ DBG1(DBG_LIB, "empty include pattern, ignored");
|
|
return TRUE;
|
|
}
|
|
|
|
@@ -1035,7 +1035,7 @@ static bool parse_files(linked_list_t *c
|
|
status = glob(pat, GLOB_ERR, NULL, &buf);
|
|
if (status == GLOB_NOMATCH)
|
|
{
|
|
- DBG2(DBG_LIB, "no files found matching '%s', ignored", pat);
|
|
+ DBG1(DBG_LIB, "no files found matching '%s', ignored", pat);
|
|
}
|
|
else if (status != 0)
|
|
{
|