From 1d9af006095d5865a5cd37daba28ab32d15ad6ca Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Mon, 27 Mar 2023 19:26:58 +0200 Subject: [PATCH] tidy-up: fix typos (#886) detected by codespell 2.2.4. --- RELEASE-NOTES | 2 +- acinclude.m4 | 8 ++++---- buildconf | 2 +- ci/checksrc.pl | 2 +- configure.ac | 2 +- docs/HACKING-CRYPTO | 4 ++-- docs/INSTALL_AUTOTOOLS | 4 ++-- docs/INSTALL_CMAKE.md | 4 ++-- docs/TODO | 4 ++-- example/direct_tcpip.c | 2 +- example/scp.c | 2 +- example/scp_nonblock.c | 2 +- example/scp_write.c | 2 +- example/scp_write_nonblock.c | 2 +- example/sftp.c | 2 +- example/sftp_RW_nonblock.c | 2 +- example/sftp_append.c | 2 +- example/sftp_mkdir.c | 2 +- example/sftp_mkdir_nonblock.c | 2 +- example/sftp_nonblock.c | 14 +++++++------- example/sftp_write.c | 2 +- example/sftp_write_nonblock.c | 6 +++--- example/sftp_write_sliding.c | 6 +++--- example/sftpdir.c | 2 +- example/sftpdir_nonblock.c | 2 +- example/ssh2.c | 2 +- example/ssh2_agent.c | 2 +- example/subsystem_netconf.c | 2 +- example/tcpip-forward.c | 2 +- example/x11.c | 2 +- include/libssh2.h | 2 +- os400/README400 | 6 +++--- os400/libssh2rpg/libssh2.rpgle.in | 10 +++++----- src/agent_win.c | 2 +- src/crypto.h | 2 +- src/kex.c | 2 +- vms/readme.vms | 6 +++--- 37 files changed, 62 insertions(+), 62 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 62064a9f..f2e5c737 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -20,7 +20,7 @@ This release includes the following enhancements and bugfixes: o improves portiablity of the make file o improves timeout behavior with 2FA keyboard auth o various improvements to the Wincng backend - o fixes reading parital packet replies when using an agent + o fixes reading partial packet replies when using an agent o fixes Diffie Hellman key exchange on Windows 1903+ builds o fixes building tests with older versions of OpenSSL o fixes possible multiple definition warnings diff --git a/acinclude.m4 b/acinclude.m4 index f645f4a5..8a09e257 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -28,7 +28,7 @@ AC_DEFUN([CURL_DETECT_ICC], ]) dnl We create a function for detecting which compiler we use and then set as -dnl pendantic compiler options as possible for that particular compiler. The +dnl pedantic compiler options as possible for that particular compiler. The dnl options are only used for debug-builds. AC_DEFUN([CURL_CC_DEBUG_OPTS], @@ -237,7 +237,7 @@ dnl ioctlsocket test was good nonblock="ioctlsocket" AC_DEFINE(HAVE_IOCTLSOCKET, 1, [use ioctlsocket() for non-blocking sockets]) ],[ -dnl ioctlsocket didnt compile!, go to test 4 +dnl ioctlsocket did not compile!, go to test 4 AC_TRY_LINK([ /* headers for IoctlSocket test (Amiga?) */ @@ -251,7 +251,7 @@ dnl ioctlsocket test was good nonblock="IoctlSocket" AC_DEFINE(HAVE_IOCTLSOCKET_CASE, 1, [use Ioctlsocket() for non-blocking sockets]) ],[ -dnl Ioctlsocket didnt compile, do test 5! +dnl Ioctlsocket did not compile, do test 5! AC_TRY_COMPILE([ /* headers for SO_NONBLOCK test (BeOS) */ #include @@ -265,7 +265,7 @@ dnl the SO_NONBLOCK test was good nonblock="SO_NONBLOCK" AC_DEFINE(HAVE_SO_NONBLOCK, 1, [use SO_NONBLOCK for non-blocking sockets]) ],[ -dnl test 5 didnt compile! +dnl test 5 did not compile! nonblock="nada" AC_DEFINE(HAVE_DISABLED_NONBLOCKING, 1, [disabled non-blocking sockets]) ]) diff --git a/buildconf b/buildconf index 80971930..ebdd3972 100755 --- a/buildconf +++ b/buildconf @@ -2,7 +2,7 @@ echo "***" >&2 echo "*** Do not use buildconf. Instead, just use: autoreconf -fi" >&2 -echo "*** Doing it for you now, but buildconf may disapear in the future." >&2 +echo "*** Doing it for you now, but buildconf may disappear in the future." >&2 echo "***" >&2 exec ${AUTORECONF:-autoreconf} -fi "${@}" diff --git a/ci/checksrc.pl b/ci/checksrc.pl index 965f0bab..f8c2caff 100755 --- a/ci/checksrc.pl +++ b/ci/checksrc.pl @@ -712,7 +712,7 @@ sub scanfile { # A rather more interesting, and correct, check would be to not test # only locally committed files but inspect all files wrt the year of # their last commit. Removing the `git rev-list origin/master..HEAD` - # condition below will enfore copyright year checks against the year + # condition below will enforce copyright year checks against the year # the file was last committed (and thus edited to some degree). my $commityear = undef; @copyright = sort {$$b{year} cmp $$a{year}} @copyright; diff --git a/configure.ac b/configure.ac index 624944fd..1658c999 100644 --- a/configure.ac +++ b/configure.ac @@ -112,7 +112,7 @@ esac if test "$found_crypto" = "none"; then crypto_errors="${crypto_errors} -Specify --with-crypto=\$backend and/or the neccessary library search prefix. +Specify --with-crypto=\$backend and/or the necessary library search prefix. Known crypto backends: auto, m4_set_contents([crypto_backends], [, ])" AS_MESSAGE([ERROR: ${crypto_errors}]) diff --git a/docs/HACKING-CRYPTO b/docs/HACKING-CRYPTO index e330a7e7..c4149524 100644 --- a/docs/HACKING-CRYPTO +++ b/docs/HACKING-CRYPTO @@ -392,7 +392,7 @@ _libssh2_cipher_cast5 CAST5-CBC algorithm identifier initializer. #define with constant value of type _libssh2_cipher_type(). -4.5) Tripple DES in CBC block mode. +4.5) Triple DES in CBC block mode. LIBSSH2_3DES #define as 1 if the crypto library supports TripleDES in CBC mode, else 0. If defined as 0, the rest of this section can be omitted. @@ -939,5 +939,5 @@ This function is for implementing key hash upgrading as defined in RFC 8332. Based on the incoming key_method value, this function will return a list of supported algorithms that can upgrade the original key method algorithm -as a comma seperated list, if there is no upgrade option this function should +as a comma separated list, if there is no upgrade option this function should return NULL. diff --git a/docs/INSTALL_AUTOTOOLS b/docs/INSTALL_AUTOTOOLS index a98441df..f9d157fb 100644 --- a/docs/INSTALL_AUTOTOOLS +++ b/docs/INSTALL_AUTOTOOLS @@ -264,7 +264,7 @@ Some ./configure options deserve additional comments: Enabling this option will allow for "none" as a negotiable method, however it still requires that the - method be advertized by the remote end and that no + method be advertised by the remote end and that no more-preferable methods are available. * --enable-mac-none @@ -277,7 +277,7 @@ Some ./configure options deserve additional comments: Enabling this option will allow for "none" as a negotiable method, however it still requires that the - method be advertized by the remote end and that no + method be advertised by the remote end and that no more-preferable methods are available. * --with-libgcrypt diff --git a/docs/INSTALL_CMAKE.md b/docs/INSTALL_CMAKE.md index 779238e7..ddd47170 100644 --- a/docs/INSTALL_CMAKE.md +++ b/docs/INSTALL_CMAKE.md @@ -82,7 +82,7 @@ The following options are available: libssh2 by default as well. Enabling this option will allow for "none" as a negotiable method, - however it still requires that the method be advertized by the + however it still requires that the method be advertised by the remote end and that no more-preferable methods are available. * `ENABLE_MAC_NONE=OFF` @@ -93,7 +93,7 @@ The following options are available: MAC hashes removes a layer of security. Enabling this option will allow for "none" as a negotiable method, - however it still requires that the method be advertized by the + however it still requires that the method be advertised by the remote end and that no more-preferable methods are available. * `ENABLE_DEBUG_LOGGING=ON` in Debug, `=OFF` in Release diff --git a/docs/TODO b/docs/TODO index cae1afa7..a83af7cf 100644 --- a/docs/TODO +++ b/docs/TODO @@ -41,7 +41,7 @@ At next SONAME bump libssh2_poll() libssh2_poll_channel_read() libssh2_session_startup() (libssh2_session_handshake() is the replacement) - libssh2_banner_set() (libssh2_session_banner_set() is the repacement) + libssh2_banner_set() (libssh2_session_banner_set() is the replacement) * Rename a few function: @@ -60,7 +60,7 @@ At next SONAME bump * remove the existing libssh2_scp_send_ex() function and rename libssh2_scp_send64 to become the new libssh2_scp_send instead. -* remove the existing libssh2_knownhost_check() functin and rename +* remove the existing libssh2_knownhost_check() function and rename libssh2_knownhost_checkp() to become the new libssh2_knownhost_check instead Buffering Improvements diff --git a/example/direct_tcpip.c b/example/direct_tcpip.c index 162f2fbd..f61b9bb7 100644 --- a/example/direct_tcpip.c +++ b/example/direct_tcpip.c @@ -151,7 +151,7 @@ int main(int argc, char *argv[]) return -1; } - /* At this point we havn't yet authenticated. The first thing to do + /* At this point we have not yet authenticated. The first thing to do * is check the hostkey's fingerprint against our known hosts Your app * may have it hard coded, may go to a file, may present it to the * user, that's your call diff --git a/example/scp.c b/example/scp.c index c8e0ee3d..6b2788ee 100644 --- a/example/scp.c +++ b/example/scp.c @@ -119,7 +119,7 @@ int main(int argc, char *argv[]) return -1; } - /* At this point we havn't yet authenticated. The first thing to do + /* At this point we have not yet authenticated. The first thing to do * is check the hostkey's fingerprint against our known hosts Your app * may have it hard coded, may go to a file, may present it to the * user, that's your call diff --git a/example/scp_nonblock.c b/example/scp_nonblock.c index 453af82b..56ecfe2d 100644 --- a/example/scp_nonblock.c +++ b/example/scp_nonblock.c @@ -179,7 +179,7 @@ int main(int argc, char *argv[]) return -1; } - /* At this point we havn't yet authenticated. The first thing to do + /* At this point we have not yet authenticated. The first thing to do * is check the hostkey's fingerprint against our known hosts Your app * may have it hard coded, may go to a file, may present it to the * user, that's your call diff --git a/example/scp_write.c b/example/scp_write.c index a92465b4..1f85a185 100644 --- a/example/scp_write.c +++ b/example/scp_write.c @@ -138,7 +138,7 @@ int main(int argc, char *argv[]) return -1; } - /* At this point we havn't yet authenticated. The first thing to do + /* At this point we have not yet authenticated. The first thing to do * is check the hostkey's fingerprint against our known hosts Your app * may have it hard coded, may go to a file, may present it to the * user, that's your call diff --git a/example/scp_write_nonblock.c b/example/scp_write_nonblock.c index b8ffa784..f41e44fd 100644 --- a/example/scp_write_nonblock.c +++ b/example/scp_write_nonblock.c @@ -172,7 +172,7 @@ int main(int argc, char *argv[]) return -1; } - /* At this point we havn't yet authenticated. The first thing to do + /* At this point we have not yet authenticated. The first thing to do * is check the hostkey's fingerprint against our known hosts Your app * may have it hard coded, may go to a file, may present it to the * user, that's your call diff --git a/example/sftp.c b/example/sftp.c index e902912d..d1100777 100644 --- a/example/sftp.c +++ b/example/sftp.c @@ -186,7 +186,7 @@ int main(int argc, char *argv[]) return -1; } - /* At this point we havn't yet authenticated. The first thing to do + /* At this point we have not yet authenticated. The first thing to do * is check the hostkey's fingerprint against our known hosts Your app * may have it hard coded, may go to a file, may present it to the * user, that's your call diff --git a/example/sftp_RW_nonblock.c b/example/sftp_RW_nonblock.c index 5a6d8fba..1830ec33 100644 --- a/example/sftp_RW_nonblock.c +++ b/example/sftp_RW_nonblock.c @@ -150,7 +150,7 @@ int main(int argc, char *argv[]) libssh2_session_set_blocking(session, 0); - /* At this point we havn't yet authenticated. The first thing to do + /* At this point we have not yet authenticated. The first thing to do * is check the hostkey's fingerprint against our known hosts Your app * may have it hard coded, may go to a file, may present it to the * user, that's your call diff --git a/example/sftp_append.c b/example/sftp_append.c index 783efb9c..37e22126 100644 --- a/example/sftp_append.c +++ b/example/sftp_append.c @@ -137,7 +137,7 @@ int main(int argc, char *argv[]) return -1; } - /* At this point we havn't yet authenticated. The first thing to do + /* At this point we have not yet authenticated. The first thing to do * is check the hostkey's fingerprint against our known hosts Your app * may have it hard coded, may go to a file, may present it to the * user, that's your call diff --git a/example/sftp_mkdir.c b/example/sftp_mkdir.c index 90084d31..2888d3ed 100644 --- a/example/sftp_mkdir.c +++ b/example/sftp_mkdir.c @@ -117,7 +117,7 @@ int main(int argc, char *argv[]) return -1; } - /* At this point we havn't yet authenticated. The first thing to do + /* At this point we have not yet authenticated. The first thing to do * is check the hostkey's fingerprint against our known hosts Your app * may have it hard coded, may go to a file, may present it to the * user, that's your call diff --git a/example/sftp_mkdir_nonblock.c b/example/sftp_mkdir_nonblock.c index 45a36d36..cba29daf 100644 --- a/example/sftp_mkdir_nonblock.c +++ b/example/sftp_mkdir_nonblock.c @@ -117,7 +117,7 @@ int main(int argc, char *argv[]) return -1; } - /* At this point we havn't yet authenticated. The first thing to do + /* At this point we have not yet authenticated. The first thing to do * is check the hostkey's fingerprint against our known hosts Your app * may have it hard coded, may go to a file, may present it to the * user, that's your call diff --git a/example/sftp_nonblock.c b/example/sftp_nonblock.c index f9f4da28..8b339867 100644 --- a/example/sftp_nonblock.c +++ b/example/sftp_nonblock.c @@ -176,8 +176,8 @@ int main(int argc, char *argv[]) #endif /* ... start it up. This will trade welcome banners, exchange keys, - * and setup crypto, compression, and MAC layers - */ + * and setup crypto, compression, and MAC layers + */ while((rc = libssh2_session_handshake(session, sock)) == LIBSSH2_ERROR_EAGAIN); if(rc) { @@ -185,11 +185,11 @@ int main(int argc, char *argv[]) return -1; } - /* At this point we havn't yet authenticated. The first thing to do - * is check the hostkey's fingerprint against our known hosts Your app - * may have it hard coded, may go to a file, may present it to the - * user, that's your call - */ + /* At this point we have not yet authenticated. The first thing to do + * is check the hostkey's fingerprint against our known hosts Your app + * may have it hard coded, may go to a file, may present it to the + * user, that's your call + */ fingerprint = libssh2_hostkey_hash(session, LIBSSH2_HOSTKEY_HASH_SHA1); fprintf(stderr, "Fingerprint: "); for(i = 0; i < 20; i++) { diff --git a/example/sftp_write.c b/example/sftp_write.c index ce166b9a..804b69bd 100644 --- a/example/sftp_write.c +++ b/example/sftp_write.c @@ -136,7 +136,7 @@ int main(int argc, char *argv[]) return -1; } - /* At this point we havn't yet authenticated. The first thing to do + /* At this point we have not yet authenticated. The first thing to do * is check the hostkey's fingerprint against our known hosts Your app * may have it hard coded, may go to a file, may present it to the * user, that's your call diff --git a/example/sftp_write_nonblock.c b/example/sftp_write_nonblock.c index b72daf4c..35997c0e 100644 --- a/example/sftp_write_nonblock.c +++ b/example/sftp_write_nonblock.c @@ -168,8 +168,8 @@ int main(int argc, char *argv[]) libssh2_session_set_blocking(session, 0); /* ... start it up. This will trade welcome banners, exchange keys, - * and setup crypto, compression, and MAC layers - */ + * and setup crypto, compression, and MAC layers + */ while((rc = libssh2_session_handshake(session, sock)) == LIBSSH2_ERROR_EAGAIN); if(rc) { @@ -177,7 +177,7 @@ int main(int argc, char *argv[]) return -1; } - /* At this point we havn't yet authenticated. The first thing to do is + /* At this point we have not yet authenticated. The first thing to do is * check the hostkey's fingerprint against our known hosts Your app may * have it hard coded, may go to a file, may present it to the user, * that's your call diff --git a/example/sftp_write_sliding.c b/example/sftp_write_sliding.c index acd76cf4..e87cbe86 100644 --- a/example/sftp_write_sliding.c +++ b/example/sftp_write_sliding.c @@ -168,8 +168,8 @@ int main(int argc, char *argv[]) libssh2_session_set_blocking(session, 0); /* ... start it up. This will trade welcome banners, exchange keys, - * and setup crypto, compression, and MAC layers - */ + * and setup crypto, compression, and MAC layers + */ while((rc = libssh2_session_handshake(session, sock)) == LIBSSH2_ERROR_EAGAIN); if(rc) { @@ -177,7 +177,7 @@ int main(int argc, char *argv[]) return -1; } - /* At this point we havn't yet authenticated. The first thing to do is + /* At this point we have not yet authenticated. The first thing to do is * check the hostkey's fingerprint against our known hosts Your app may * have it hard coded, may go to a file, may present it to the user, * that's your call diff --git a/example/sftpdir.c b/example/sftpdir.c index 7c5cfe10..6f5079ff 100644 --- a/example/sftpdir.c +++ b/example/sftpdir.c @@ -153,7 +153,7 @@ int main(int argc, char *argv[]) return -1; } - /* At this point we havn't yet authenticated. The first thing to do + /* At this point we have not yet authenticated. The first thing to do * is check the hostkey's fingerprint against our known hosts Your app * may have it hard coded, may go to a file, may present it to the * user, that's your call diff --git a/example/sftpdir_nonblock.c b/example/sftpdir_nonblock.c index 746ecd64..9228766b 100644 --- a/example/sftpdir_nonblock.c +++ b/example/sftpdir_nonblock.c @@ -137,7 +137,7 @@ int main(int argc, char *argv[]) return -1; } - /* At this point we havn't yet authenticated. The first thing to do + /* At this point we have not yet authenticated. The first thing to do * is check the hostkey's fingerprint against our known hosts Your app * may have it hard coded, may go to a file, may present it to the * user, that's your call diff --git a/example/ssh2.c b/example/ssh2.c index 35785de7..5934fa62 100644 --- a/example/ssh2.c +++ b/example/ssh2.c @@ -158,7 +158,7 @@ int main(int argc, char *argv[]) return -1; } - /* At this point we havn't authenticated. The first thing to do is check + /* At this point we have not authenticated. The first thing to do is check * the hostkey's fingerprint against our known hosts Your app may have it * hard coded, may go to a file, may present it to the user, that's your * call diff --git a/example/ssh2_agent.c b/example/ssh2_agent.c index ffa376c3..1eeaff14 100644 --- a/example/ssh2_agent.c +++ b/example/ssh2_agent.c @@ -113,7 +113,7 @@ int main(int argc, char *argv[]) return 1; } - /* At this point we havn't authenticated. The first thing to do is check + /* At this point we have not authenticated. The first thing to do is check * the hostkey's fingerprint against our known hosts Your app may have it * hard coded, may go to a file, may present it to the user, that's your * call diff --git a/example/subsystem_netconf.c b/example/subsystem_netconf.c index beffc859..4a400593 100644 --- a/example/subsystem_netconf.c +++ b/example/subsystem_netconf.c @@ -190,7 +190,7 @@ int main(int argc, char *argv[]) return -1; } - /* At this point we havn't yet authenticated. The first thing to do + /* At this point we have not yet authenticated. The first thing to do * is check the hostkey's fingerprint against our known hosts Your app * may have it hard coded, may go to a file, may present it to the * user, that's your call diff --git a/example/tcpip-forward.c b/example/tcpip-forward.c index 55327ac7..c42a6f14 100644 --- a/example/tcpip-forward.c +++ b/example/tcpip-forward.c @@ -147,7 +147,7 @@ int main(int argc, char *argv[]) return -1; } - /* At this point we havn't yet authenticated. The first thing to do + /* At this point we have not yet authenticated. The first thing to do * is check the hostkey's fingerprint against our known hosts Your app * may have it hard coded, may go to a file, may present it to the * user, that's your call diff --git a/example/x11.c b/example/x11.c index 0b8a3934..c4956130 100644 --- a/example/x11.c +++ b/example/x11.c @@ -148,7 +148,7 @@ static void x11_callback(LIBSSH2_SESSION *session, LIBSSH2_CHANNEL *channel, rc = connect(sock, (struct sockaddr *) &addr, sizeof(addr)); if(rc != -1) { - /* Connection Successfull */ + /* Connection Successful */ if(gp_x11_chan == NULL) { /* Calloc ensure that gp_X11_chan is full of 0 */ gp_x11_chan = (struct chan_X11_list *) diff --git a/include/libssh2.h b/include/libssh2.h index 98a31a43..96957634 100644 --- a/include/libssh2.h +++ b/include/libssh2.h @@ -55,7 +55,7 @@ #define LIBSSH2_VERSION_PATCH 1 /* This is the numeric version of the libssh2 version number, meant for easier - parsing and comparions by programs. The LIBSSH2_VERSION_NUM define will + parsing and comparisons by programs. The LIBSSH2_VERSION_NUM define will always follow this syntax: 0xXXYYZZ diff --git a/os400/README400 b/os400/README400 index fdac7da5..870c3634 100644 --- a/os400/README400 +++ b/os400/README400 @@ -96,9 +96,9 @@ String transcoding support: values from/to the libssh2 API, three non-standard additional procedures are provided. They use a session pointer and a "string cache" pointer. Each time a string is transcoded, it is cached in the given cache. It is -the responsibility of the caller to release the cache when its associted strings -are no longer needed. These procedures and the string cache type are defined -in a new libssh2_ccsid.h header file. +the responsibility of the caller to release the cache when its associated +strings are no longer needed. These procedures and the string cache type are +defined in a new libssh2_ccsid.h header file. To create a string cache, use: #include diff --git a/os400/libssh2rpg/libssh2.rpgle.in b/os400/libssh2rpg/libssh2.rpgle.in index 7b7fdd94..ea1db892 100644 --- a/os400/libssh2rpg/libssh2.rpgle.in +++ b/os400/libssh2rpg/libssh2.rpgle.in @@ -58,7 +58,7 @@ d c @LIBSSH2_VERSION_PATCH@ * This is the numeric version of the libssh2 version number, meant for - * easier parsing and comparions by programs. The LIBSSH2_VERSION_NUM + * easier parsing and comparisons by programs. The LIBSSH2_VERSION_NUM * define will always follow this syntax: * * X'XXYYZZ' @@ -511,7 +511,7 @@ * * Fills algs with a list of supported cryptographic algorithms. Returns a * non-negative number (number of supported algorithms) on success or a - * negative number (an eror code) on failure. + * negative number (an error code) on failure. * * NOTE: on success, algs must be deallocated (by calling libssh2_free) * when not needed anymore @@ -772,7 +772,7 @@ * response_callback is provided with filled by library prompts array, * but client must allocate and fill individual responses. Responses * array is already allocated. Responses data will be freed by libssh2 - * after callback return, but before subsequent callback invokation. + * after callback return, but before subsequent callback invocation. d libssh2_userauth_keyboard_interactive_ex... d pr extproc('libssh2_userauth_keyboard_i- @@ -1519,7 +1519,7 @@ * libssh2_knownhost_get() * * Traverse the internal list of known hosts. Pass NULL to 'prev' to get - * the first one. Or pass a poiner to the previously returned one to + * the first one. Or pass a pointer to the previously returned one to * get the next. * * Returns: @@ -1580,7 +1580,7 @@ * libssh2_agent_get_identity() * * Traverse the internal list of public keys. Pass NULL to 'prev' to get - * the first one. Or pass a poiner to the previously returned one to + * the first one. Or pass a pointer to the previously returned one to * get the next. * * Returns: diff --git a/src/agent_win.c b/src/agent_win.c index a84d4794..be6be4b7 100644 --- a/src/agent_win.c +++ b/src/agent_win.c @@ -59,7 +59,7 @@ * Portable OpenSSH by the PowerShell team. Commit * 8ab565c53f3619d6a1f5ac229e212cad8a52852c of * https://github.com/PowerShell/openssh-portable.git was used as the base, - * specificaly the following files: + * specifically the following files: * * - contrib\win32\win32compat\fileio.c * - Structure of agent_connect_openssh from ssh_get_authentication_socket diff --git a/src/crypto.h b/src/crypto.h index 6fa0a851..8462e8b8 100644 --- a/src/crypto.h +++ b/src/crypto.h @@ -324,7 +324,7 @@ int _libssh2_sk_pub_keyfilememory(LIBSSH2_SESSION *session, * @related _libssh2_key_sign_algorithm() * @param key_method current key method, usually the default key sig method * @param key_method_len length of the key method buffer - * @result comma seperated list of supported upgrade options per RFC 8332, if + * @result comma separated list of supported upgrade options per RFC 8332, if * there is no upgrade option return NULL */ diff --git a/src/kex.c b/src/kex.c index b3f7d2ce..7c6760d8 100644 --- a/src/kex.c +++ b/src/kex.c @@ -2193,7 +2193,7 @@ clean_exit: /* kex_method_ecdh_key_exchange * * Elliptic Curve Diffie Hellman Key Exchange - * supports SHA256/384/512 hashes based on negotated ecdh method + * supports SHA256/384/512 hashes based on negotiated ecdh method * */ diff --git a/vms/readme.vms b/vms/readme.vms index e38af163..c3d10d2a 100644 --- a/vms/readme.vms +++ b/vms/readme.vms @@ -95,7 +95,7 @@ define this logical in your systartup like so: $ define/system/executive gnv$libssh2 dev:[dir..]gnv$libssh2_x_y_z.exe -Optionally, you can install the executbale like so: +Optionally, you can install the executable like so: $ mc sysgen install dev:[dir..]gnv$libssh2_x_y_z.exe/open/share/header @@ -120,7 +120,7 @@ Compiling and linking against libssh2 The shared image library has a vector table with both uppercase and mixed case entry points, allowing to link directly against the shared -image wether you need the /NAMES=AS_IS or not. +image whether you need the /NAMES=AS_IS or not. To link successfully, you MUST use /NAMES=shortened, as some function names in libssh2 are longer than the VMS maximum of 32 characters. @@ -309,6 +309,6 @@ Building a PCSI kit ------------------- When you have built the shared library and the help library, -you can build a PCSI kit by issueing this command: +you can build a PCSI kit by issuing this command: @libssh2_make_kit.dcl