summaryrefslogtreecommitdiffstats
path: root/src/resolv/async_resolv_utils.c
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2017-06-02 11:56:55 +0200
committerLukas Slebodnik <lslebodn@redhat.com>2017-06-05 17:09:27 +0200
commitc62dc2ac02253e130991db0f6acd60ce1a2753f1 (patch)
tree2c109f7034db8c003ff0cdd901fe57dc73e7fd35 /src/resolv/async_resolv_utils.c
parent283d589b3025a3cadaaddf330d3fb4dc4175968d (diff)
downloadsssd-c62dc2ac02253e130991db0f6acd60ce1a2753f1.tar.gz
sssd-c62dc2ac02253e130991db0f6acd60ce1a2753f1.tar.xz
sssd-c62dc2ac02253e130991db0f6acd60ce1a2753f1.zip
pam_sss: Fix checking of empty string cert_user
src/sss_client/pam_sss.c: In function ‘eval_response’: src/sss_client/pam_sss.c:998:64: error: comparison between pointer and zero character constant [-Werror=pointer-compare] if (type == SSS_PAM_CERT_INFO && pi->cert_user == '\0') { ^~ src/sss_client/pam_sss.c:998:50: note: did you mean to dereference the pointer? if (type == SSS_PAM_CERT_INFO && pi->cert_user == '\0') { ^ src/sss_client/pam_sss.c:1010:42: error: comparison between pointer and zero character constant [-Werror=pointer-compare] && pi->cert_user != '\0') { ^~ src/sss_client/pam_sss.c:1010:28: note: did you mean to dereference the pointer? && pi->cert_user != '\0') { Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com>
Diffstat (limited to 'src/resolv/async_resolv_utils.c')
0 files changed, 0 insertions, 0 deletions