e29b820 p11: handle multiple certs during auth with OpenSSL

2 files Authored by sbose 5 years ago, Committed by jhrozek 5 years ago,
    p11: handle multiple certs during auth with OpenSSL
    
    This patch adds missing code already available in the NSS version to
    select a certificate for authentication if multiple certificates are
    available on the Smartcard. A unit test to check this feature is added
    as well.
    
    Related to https://pagure.io/SSSD/sssd/issue/3489
    
    Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>