missing SSL guard + test compilation problems (-Wunused-but-set-variable)