mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-07-07 13:41:09 +03:00
Fix typos detected with new codespell
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Sahana Prasad <sahana@redhat.com>
This commit is contained in:
@ -91,7 +91,7 @@
|
||||
/* Define to 1 if you have elliptic curve cryptography */
|
||||
#cmakedefine HAVE_ECC 1
|
||||
|
||||
/* Define to 1 if you have gl_flags as a glob_t sturct member */
|
||||
/* Define to 1 if you have gl_flags as a glob_t struct member */
|
||||
#cmakedefine HAVE_GLOB_GL_FLAGS_MEMBER 1
|
||||
|
||||
/* Define to 1 if you have gcrypt with ChaCha20/Poly1305 support */
|
||||
|
@ -512,7 +512,7 @@ static int shell_request(ssh_session session, ssh_channel channel,
|
||||
|
||||
static int subsystem_request(ssh_session session, ssh_channel channel,
|
||||
const char *subsystem, void *userdata) {
|
||||
/* subsystem requests behave simillarly to exec requests. */
|
||||
/* subsystem requests behave similarly to exec requests. */
|
||||
if (strcmp(subsystem, "sftp") == 0) {
|
||||
return exec_request(session, channel, SFTP_SERVER_PATH, userdata);
|
||||
}
|
||||
|
@ -213,7 +213,7 @@ cipher_set_encrypt_key_cbc(struct ssh_cipher_struct *cipher,
|
||||
goto error;
|
||||
}
|
||||
|
||||
/* libssh only encypts and decrypts packets that are multiples of a block
|
||||
/* libssh only encrypts and decrypts packets that are multiples of a block
|
||||
* size, and no padding is used */
|
||||
rc = mbedtls_cipher_set_padding_mode(&cipher->encrypt_ctx,
|
||||
MBEDTLS_PADDING_NONE);
|
||||
|
Reference in New Issue
Block a user