mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
pam_krb5: Add missing patch
Include a portion of the patch that was missed in813847e49e
. Reported by: markj Fixes:813847e49e
MFC after: 1 day
This commit is contained in:
parent
5684c8783b
commit
bfa51318de
@ -938,18 +938,6 @@ verify_krb_v5_tgt_begin(krb5_context context, char *pam_service, int debug,
|
||||
continue;
|
||||
break;
|
||||
}
|
||||
if (retval != 0) { /* failed to find key */
|
||||
/* Keytab or service key does not exist */
|
||||
if (debug) {
|
||||
const char *msg = krb5_get_error_message(context,
|
||||
retval);
|
||||
syslog(LOG_DEBUG,
|
||||
"pam_krb5: verify_krb_v5_tgt(): %s: %s",
|
||||
"krb5_kt_read_service_key()", msg);
|
||||
krb5_free_error_message(context, msg);
|
||||
}
|
||||
retval = 0;
|
||||
}
|
||||
if (keyblock)
|
||||
krb5_free_keyblock(context, keyblock);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user