diff options
author | Fabiano FidĂȘncio <fidencio@redhat.com> | 2017-10-06 13:04:15 +0200 |
---|---|---|
committer | Lukas Slebodnik <lslebodn@redhat.com> | 2017-10-09 10:03:15 +0200 |
commit | 82464078c0d38421b788393838ebfa401aa1391e (patch) | |
tree | e9033cee8761f1ddb013d6438f96afa0d32166fc /src/external/pac_responder.m4 | |
parent | 381bc154ef06fd3cc0660ce0fd62504367f420f5 (diff) | |
download | sssd-82464078c0d38421b788393838ebfa401aa1391e.tar.gz sssd-82464078c0d38421b788393838ebfa401aa1391e.tar.xz sssd-82464078c0d38421b788393838ebfa401aa1391e.zip |
PAM: Avoid overwriting pam_status in _lookup_by_cert_done()
In case add_pam_cert_response() failed pam_status has to be set to
PAM_AUTHINFO_UNAVAIL. Although it's done properly in the code,
pam_status was overwritten just after the if block with PAM_SUCCESS.
The original faulty code was added as part of 32474fa2f0.
Signed-off-by: Fabiano FidĂȘncio <fidencio@redhat.com>
Reviewed-by: Sumit Bose <sbose@redhat.com>
Diffstat (limited to 'src/external/pac_responder.m4')
0 files changed, 0 insertions, 0 deletions