comparison svr-authpam.c @ 1256:506f7681d0f8 coverity

merge up to date
author Matt Johnston <matt@ucc.asn.au>
date Tue, 15 Mar 2016 22:45:43 +0800
parents c59c10803afd
children 750ec4ec4cbe
comparison
equal deleted inserted replaced
1219:84cf9062718d 1256:506f7681d0f8
216 rc, pam_strerror(pamHandlep, rc)); 216 rc, pam_strerror(pamHandlep, rc));
217 goto cleanup; 217 goto cleanup;
218 } 218 }
219 219
220 /* just to set it to something */ 220 /* just to set it to something */
221 if ((rc = pam_set_item(pamHandlep, PAM_TTY, "ssh") != PAM_SUCCESS)) { 221 if ((rc = pam_set_item(pamHandlep, PAM_TTY, "ssh")) != PAM_SUCCESS) {
222 dropbear_log(LOG_WARNING, "pam_set_item() failed, rc=%d, %s", 222 dropbear_log(LOG_WARNING, "pam_set_item() failed, rc=%d, %s",
223 rc, pam_strerror(pamHandlep, rc)); 223 rc, pam_strerror(pamHandlep, rc));
224 goto cleanup; 224 goto cleanup;
225 } 225 }
226 226