ad3356d utils: refactor ssh key extraction (OpenSSL)

1 file Authored by sbose 5 years ago, Committed by jhrozek 5 years ago,
    utils: refactor ssh key extraction (OpenSSL)
    
    Prepare the current code to allow adding other key types.
    
    Related to https://pagure.io/SSSD/sssd/issue/3887
    
    Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
    
        
file modified
+53 -34