Skip to content

Commit

Permalink
Merge pull request #154 from morgenroth/fixes/1.0.x
Browse files Browse the repository at this point in the history
daemon: Disable security checks if the daemon was compiled without BSP support
  • Loading branch information
morgenroth committed Apr 1, 2015
2 parents 570f2b9 + 576212f commit e44c619
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ibrdtn/daemon/src/core/filter/SecurityFilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ namespace dtn
break;
}
}
#else
// without BSP support we can not execute any security check
// therefore we always proceed as if the check were successful and
// return with the positive action
return _positive_action;
#endif

// forward call to the next filter or return with the default action
Expand Down Expand Up @@ -168,6 +173,11 @@ namespace dtn
break;
}
}
#else
// without BSP support we can not execute any security check
// therefore we always proceed as if the check were successful and
// return with the positive action
return _positive_action;
#endif

// forward call to the next filter or return with the default action
Expand Down

0 comments on commit e44c619

Please sign in to comment.