diff --git a/config.h.cmake b/config.h.cmake index 5d0afdd7..391ee162 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -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 */ diff --git a/examples/ssh_server.c b/examples/ssh_server.c index ef444458..fab8f96e 100644 --- a/examples/ssh_server.c +++ b/examples/ssh_server.c @@ -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); } diff --git a/src/libmbedcrypto.c b/src/libmbedcrypto.c index e1056174..55951764 100644 --- a/src/libmbedcrypto.c +++ b/src/libmbedcrypto.c @@ -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);