fix compilerer errors in security policy
fix compilerer errors in security policy

When compiling with -Werror security policy can't be compiled because of
type errors. This commit fixes this problem.

rhinstaller/shim,rhinstaller/shim,rhinstaller/shim