0eb399a717
This patch make functions in security.c return values when they should instead of beeing void. And it also fix the callers of these functions.