def test_client_options(config):
 if config['use_ssl']:
  if (('certificate' in config) and config['certificate']):
   read_file(config['certificate'])
  if (('client_cert' in config) and config['client_cert']):
   read_file(config['client_cert'])
  if (('client_key' in config) and config['client_key']):
   read_file(config['client_key'])

def test_client_options ( config ) : if config [ 'use_ssl' ] : if ( ( 'certificate' in config ) and config [ 'certificate' ] ) : read_file ( config [ 'certificate' ] ) if ( ( 'client_cert' in config ) and config [ 'client_cert' ] ) : read_file ( config [ 'client_cert' ] ) if ( ( 'client_key' in config ) and config [ 'client_key' ] ) : read_file ( config [ 'client_key' ] )
test whether a ssl/tls files exist .