security: Fix warnings in srmtestcommon