28929b6 SDAP: move deciding of tls usage into new function

1 file Authored by preichl 9 years ago, Committed by jhrozek 9 years ago,
    SDAP: move deciding of tls usage into new function
    
    Separate code for deciding tls usage from sdap_cli_connect_send() to new
    function decide_tls_usage().
    
    Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>