URL:
https://github.com/SSSD/sssd/pull/433
Title: #433: PAM: Multiple certificates on a Smartcard
sumit-bose commented:
"""
@lslebodn, I suggested to add the check to sss_authtok_get_type() because most of the
other sss_authtok_* call do a similar check. I agree that the check is not strictly
needed, but I think it will help to make the sss_authok component more reliable with a
minimal effort.
About the check in pam_check_cert_send(). I guess I added it automatically to make sure to
not dereference a NULL pointer without checking if it is possible at all at this point. Do
you want me to remove it?
"""
See the full comment at
https://github.com/SSSD/sssd/pull/433#issuecomment-343395813