test1397: Fixed compilation with some SSL backends

The test is only valid when one of four SSL backends is in use,
and must otherwise return success.