mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-07-31 00:03:07 +03:00
Fixed spelling.
This commit is contained in:
@ -269,7 +269,7 @@
|
|||||||
* message from the server saying hello or such things. Just call ssh_userauth_kbdint() until needed.
|
* message from the server saying hello or such things. Just call ssh_userauth_kbdint() until needed.
|
||||||
* - The meaning of "name", "prompt", "instruction" may be a little confusing. And explanation is given
|
* - The meaning of "name", "prompt", "instruction" may be a little confusing. And explanation is given
|
||||||
* in the following documentation.
|
* in the following documentation.
|
||||||
* A little note about how to use the informations from keyboard-interactive authentication, coming from
|
* A little note about how to use the information from keyboard-interactive authentication, coming from
|
||||||
* The RFC itself (rfc4256) :
|
* The RFC itself (rfc4256) :
|
||||||
*
|
*
|
||||||
* @verbatim
|
* @verbatim
|
||||||
|
@ -238,7 +238,7 @@ enum {
|
|||||||
/** Only rare and noteworthy events
|
/** Only rare and noteworthy events
|
||||||
*/
|
*/
|
||||||
SSH_LOG_RARE,
|
SSH_LOG_RARE,
|
||||||
/** High level protocol informations
|
/** High level protocol information
|
||||||
*/
|
*/
|
||||||
SSH_LOG_PROTOCOL,
|
SSH_LOG_PROTOCOL,
|
||||||
/** Lower level protocol infomations, packet level
|
/** Lower level protocol infomations, packet level
|
||||||
|
@ -1527,7 +1527,7 @@ int ssh_userauth_kbdint(ssh_session session, const char *user,
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* If we are at this point, it is because session->kbdint exists.
|
* If we are at this point, it is because session->kbdint exists.
|
||||||
* It means the user has set some informations there we need to send
|
* It means the user has set some information there we need to send
|
||||||
* the server and then we need to ack the status (new questions or ok
|
* the server and then we need to ack the status (new questions or ok
|
||||||
* pass in).
|
* pass in).
|
||||||
*/
|
*/
|
||||||
|
@ -1979,7 +1979,7 @@ int channel_read_buffer(ssh_channel channel, ssh_buffer buffer, uint32_t count,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (count == 0) {
|
if (count == 0) {
|
||||||
/* write the ful buffer informations */
|
/* write the ful buffer information */
|
||||||
if (buffer_add_data(buffer, buffer_get_rest(stdbuf),
|
if (buffer_add_data(buffer, buffer_get_rest(stdbuf),
|
||||||
buffer_get_rest_len(stdbuf)) < 0) {
|
buffer_get_rest_len(stdbuf)) < 0) {
|
||||||
leave_function();
|
leave_function();
|
||||||
|
@ -805,7 +805,7 @@ error:
|
|||||||
const char *ssh_copyright(void) {
|
const char *ssh_copyright(void) {
|
||||||
return SSH_STRINGIFY(LIBSSH_VERSION) " (c) 2003-2010 Aris Adamantiadis "
|
return SSH_STRINGIFY(LIBSSH_VERSION) " (c) 2003-2010 Aris Adamantiadis "
|
||||||
"(aris@0xbadc0de.be) Distributed under the LGPL, please refer to COPYING"
|
"(aris@0xbadc0de.be) Distributed under the LGPL, please refer to COPYING"
|
||||||
"file for informations about your rights";
|
"file for information about your rights";
|
||||||
}
|
}
|
||||||
/** @} */
|
/** @} */
|
||||||
/* vim: set ts=2 sw=2 et cindent: */
|
/* vim: set ts=2 sw=2 et cindent: */
|
||||||
|
@ -613,7 +613,7 @@ int ssh_options_set(ssh_session session, enum ssh_options_e type,
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
ssh_set_error(session, SSH_REQUEST_DENIED, "Unkown ssh option %d", type);
|
ssh_set_error(session, SSH_REQUEST_DENIED, "Unknown ssh option %d", type);
|
||||||
return -1;
|
return -1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -1057,7 +1057,7 @@ int ssh_bind_options_set(ssh_bind sshbind, enum ssh_bind_options_e type,
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
ssh_set_error(sshbind, SSH_REQUEST_DENIED, "Unkown ssh option %d", type);
|
ssh_set_error(sshbind, SSH_REQUEST_DENIED, "Unknown ssh option %d", type);
|
||||||
return -1;
|
return -1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -92,7 +92,7 @@ struct ssh_pcap_context_struct {
|
|||||||
ssh_session session;
|
ssh_session session;
|
||||||
ssh_pcap_file file;
|
ssh_pcap_file file;
|
||||||
int connected;
|
int connected;
|
||||||
/* All of these informations are useful to generate
|
/* All of these information are useful to generate
|
||||||
* the dummy IP and TCP packets
|
* the dummy IP and TCP packets
|
||||||
*/
|
*/
|
||||||
uint32_t ipsource;
|
uint32_t ipsource;
|
||||||
|
Reference in New Issue
Block a user