mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 09:54:25 +09:00
Cleanup todo's.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@340 7dcaeef0-15fb-0310-b436-a5af3365683c
This commit is contained in:
@@ -93,7 +93,6 @@ static size_t atomicio(struct socket *s, void *buf, size_t n, int do_read) {
|
|||||||
}
|
}
|
||||||
switch (res) {
|
switch (res) {
|
||||||
case -1:
|
case -1:
|
||||||
/* TODO: set error */
|
|
||||||
if (errno == EINTR) {
|
if (errno == EINTR) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@@ -183,7 +182,6 @@ static int agent_decode_reply(struct ssh_session *session, int type) {
|
|||||||
default:
|
default:
|
||||||
ssh_set_error(session, SSH_FATAL,
|
ssh_set_error(session, SSH_FATAL,
|
||||||
"Bad response from authentication agent: %d", type);
|
"Bad response from authentication agent: %d", type);
|
||||||
/* TODO: fatal */
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -338,8 +336,7 @@ struct public_key_struct *agent_get_next_ident(struct ssh_session *session,
|
|||||||
|
|
||||||
switch(session->version) {
|
switch(session->version) {
|
||||||
case 1:
|
case 1:
|
||||||
/* TODO */
|
return NULL;
|
||||||
break;
|
|
||||||
case 2:
|
case 2:
|
||||||
/* get the blob */
|
/* get the blob */
|
||||||
blob = buffer_get_ssh_string(session->agent->ident);
|
blob = buffer_get_ssh_string(session->agent->ident);
|
||||||
|
|||||||
Reference in New Issue
Block a user