version 1.30, 2017/05/30 14:29:59 |
version 1.31, 2017/06/24 06:34:38 |
|
|
sshbuf_dump(b, stderr); |
sshbuf_dump(b, stderr); |
#endif |
#endif |
|
|
pubkey_auth_info(authctxt, key, |
auth2_record_info(authctxt, |
"client user \"%.100s\", client host \"%.100s\"", cuser, chost); |
"client user \"%.100s\", client host \"%.100s\"", cuser, chost); |
|
|
/* test for allowed key and correct signature */ |
/* test for allowed key and correct signature */ |
|
|
sshbuf_ptr(b), sshbuf_len(b), ssh->compat)) == 0) |
sshbuf_ptr(b), sshbuf_len(b), ssh->compat)) == 0) |
authenticated = 1; |
authenticated = 1; |
|
|
|
auth2_record_key(authctxt, authenticated, key); |
sshbuf_free(b); |
sshbuf_free(b); |
done: |
done: |
debug2("%s: authenticated %d", __func__, authenticated); |
debug2("%s: authenticated %d", __func__, authenticated); |
if (key != NULL) |
sshkey_free(key); |
sshkey_free(key); |
|
free(pkalg); |
free(pkalg); |
free(pkblob); |
free(pkblob); |
free(cuser); |
free(cuser); |