mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-07 02:39:48 +09:00
Fix various spelling issues reported by codespell
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
This commit is contained in:
@@ -110,7 +110,7 @@ int auth_pubkey_cb(UNUSED_PARAM(ssh_session session),
|
||||
}
|
||||
|
||||
/* TODO */
|
||||
/* Check wheter the user and public key are in authorized keys list */
|
||||
/* Check whether the user and public key are in authorized keys list */
|
||||
|
||||
/* Authenticated */
|
||||
printf("Authenticated\n");
|
||||
|
||||
@@ -97,8 +97,8 @@ static void cleanup_pcap(struct session_data_st *sdata)
|
||||
}
|
||||
|
||||
/* Do not free the pcap data context here since its ownership was
|
||||
* transfered to the session object, which will take care of its cleanup.
|
||||
* Morover it is still in use so we can very simply crash by freeing
|
||||
* transferred to the session object, which will take care of its cleanup.
|
||||
* Moreover it is still in use so we can very simply crash by freeing
|
||||
* it here.
|
||||
*/
|
||||
sdata->pcap = NULL;
|
||||
@@ -161,7 +161,7 @@ static int authenticate_kbdint(ssh_session session,
|
||||
initial_prompt[0] = "username: ";
|
||||
initial_prompt[1] = "password: ";
|
||||
|
||||
/* Prompt for aditional prompts */
|
||||
/* Prompt for additional prompts */
|
||||
retype_prompt[0] = "retype password: ";
|
||||
|
||||
if ((session == NULL) || (message == NULL) || (sdata == NULL)) {
|
||||
|
||||
Reference in New Issue
Block a user