version 1.28, 2018/07/10 09:13:30 |
version 1.29, 2018/07/31 03:10:27 |
|
|
size_t len; |
size_t len; |
u_char *doid = NULL; |
u_char *doid = NULL; |
|
|
if (!authctxt->valid || authctxt->user == NULL) |
|
return (0); |
|
|
|
if ((r = sshpkt_get_u32(ssh, &mechs)) != 0) |
if ((r = sshpkt_get_u32(ssh, &mechs)) != 0) |
fatal("%s: %s", __func__, ssh_err(r)); |
fatal("%s: %s", __func__, ssh_err(r)); |
|
|
|
|
if (!present) { |
if (!present) { |
free(doid); |
free(doid); |
authctxt->server_caused_failure = 1; |
authctxt->server_caused_failure = 1; |
|
return (0); |
|
} |
|
|
|
if (!authctxt->valid || authctxt->user == NULL) { |
|
debug2("%s: disabled because of invalid user", __func__); |
|
free(doid); |
return (0); |
return (0); |
} |
} |
|
|