Many typo fixes from Karsten Weiss
Spotted using https://github.com/lucasdemarchi/codespell
This commit is contained in:
parent
907da2f885
commit
10479cc2a4
|
@ -1,4 +1,4 @@
|
||||||
# uncomment if you run a non bourne compatable shell. Ie. csh
|
# uncomment if you run a non bourne compatible shell. Ie. csh
|
||||||
#SHELL = @SH@
|
#SHELL = @SH@
|
||||||
|
|
||||||
AUTORECONF=autoreconf
|
AUTORECONF=autoreconf
|
||||||
|
|
|
@ -80,7 +80,7 @@ added to /etc/security/audit_event:
|
||||||
32800:AUE_openssh:OpenSSH login:lo
|
32800:AUE_openssh:OpenSSH login:lo
|
||||||
|
|
||||||
The BSM audit event range available for third party TCB applications is
|
The BSM audit event range available for third party TCB applications is
|
||||||
32768 - 65535. Event number 32800 has been choosen for AUE_openssh.
|
32768 - 65535. Event number 32800 has been chosen for AUE_openssh.
|
||||||
There is no official registry of 3rd party event numbers, so if this
|
There is no official registry of 3rd party event numbers, so if this
|
||||||
number is already in use on your system, you may change it at build time
|
number is already in use on your system, you may change it at build time
|
||||||
by configure'ing --with-cflags=-DAUE_openssh=32801 then rebuilding.
|
by configure'ing --with-cflags=-DAUE_openssh=32801 then rebuilding.
|
||||||
|
|
4
TODO
4
TODO
|
@ -57,10 +57,10 @@ Clean up configure/makefiles:
|
||||||
- Replace the whole u_intXX_t evilness in acconfig.h with something better???
|
- Replace the whole u_intXX_t evilness in acconfig.h with something better???
|
||||||
- Do it in configure.ac
|
- Do it in configure.ac
|
||||||
|
|
||||||
- Consider splitting the u_intXX_t test for sys/bitype.h into seperate test
|
- Consider splitting the u_intXX_t test for sys/bitype.h into separate test
|
||||||
to allow people to (right/wrongfully) link against Bind directly.
|
to allow people to (right/wrongfully) link against Bind directly.
|
||||||
|
|
||||||
- Consider splitting configure.ac into seperate files which do logically
|
- Consider splitting configure.ac into separate files which do logically
|
||||||
similar tests. E.g move all the type detection stuff into one file,
|
similar tests. E.g move all the type detection stuff into one file,
|
||||||
entropy related stuff into another.
|
entropy related stuff into another.
|
||||||
|
|
||||||
|
|
10
configure.ac
10
configure.ac
|
@ -274,7 +274,7 @@ typedef void foo(const char *, ...) __attribute__((format(printf, 1, 2)));]],
|
||||||
[ AC_MSG_RESULT([yes]) ],
|
[ AC_MSG_RESULT([yes]) ],
|
||||||
[ AC_MSG_RESULT([no])
|
[ AC_MSG_RESULT([no])
|
||||||
AC_DEFINE(NO_ATTRIBUTE_ON_PROTOTYPE_ARGS, 1,
|
AC_DEFINE(NO_ATTRIBUTE_ON_PROTOTYPE_ARGS, 1,
|
||||||
[compiler does not accept __attribute__ on protoype args]) ]
|
[compiler does not accept __attribute__ on prototype args]) ]
|
||||||
)
|
)
|
||||||
|
|
||||||
if test "x$no_attrib_nonnull" != "x1" ; then
|
if test "x$no_attrib_nonnull" != "x1" ; then
|
||||||
|
@ -514,7 +514,7 @@ case "$host" in
|
||||||
# Some versions of VAC won't allow macro redefinitions at
|
# Some versions of VAC won't allow macro redefinitions at
|
||||||
# -qlanglevel=ansi, and autoconf 2.60 sometimes insists on using that
|
# -qlanglevel=ansi, and autoconf 2.60 sometimes insists on using that
|
||||||
# particularly with older versions of vac or xlc.
|
# particularly with older versions of vac or xlc.
|
||||||
# It also throws errors about null macro argments, but these are
|
# It also throws errors about null macro arguments, but these are
|
||||||
# not fatal.
|
# not fatal.
|
||||||
AC_MSG_CHECKING([if compiler allows macro redefinitions])
|
AC_MSG_CHECKING([if compiler allows macro redefinitions])
|
||||||
AC_COMPILE_IFELSE(
|
AC_COMPILE_IFELSE(
|
||||||
|
@ -753,7 +753,7 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
|
||||||
PATH="$PATH:/usr/etc"
|
PATH="$PATH:/usr/etc"
|
||||||
AC_DEFINE([WITH_IRIX_ARRAY], [1],
|
AC_DEFINE([WITH_IRIX_ARRAY], [1],
|
||||||
[Define if you have/want arrays
|
[Define if you have/want arrays
|
||||||
(cluster-wide session managment, not C arrays)])
|
(cluster-wide session management, not C arrays)])
|
||||||
AC_DEFINE([WITH_IRIX_PROJECT], [1],
|
AC_DEFINE([WITH_IRIX_PROJECT], [1],
|
||||||
[Define if you want IRIX project management])
|
[Define if you want IRIX project management])
|
||||||
AC_DEFINE([WITH_IRIX_AUDIT], [1],
|
AC_DEFINE([WITH_IRIX_AUDIT], [1],
|
||||||
|
@ -3005,7 +3005,7 @@ LIBS="$saved_LIBS"
|
||||||
|
|
||||||
### Configure cryptographic random number support
|
### Configure cryptographic random number support
|
||||||
|
|
||||||
# Check wheter OpenSSL seeds itself
|
# Check whether OpenSSL seeds itself
|
||||||
if test "x$openssl" = "xyes" ; then
|
if test "x$openssl" = "xyes" ; then
|
||||||
AC_MSG_CHECKING([whether OpenSSL's PRNG is internally seeded])
|
AC_MSG_CHECKING([whether OpenSSL's PRNG is internally seeded])
|
||||||
AC_RUN_IFELSE(
|
AC_RUN_IFELSE(
|
||||||
|
@ -3904,7 +3904,7 @@ fi
|
||||||
|
|
||||||
AC_CHECK_TYPES([struct timespec])
|
AC_CHECK_TYPES([struct timespec])
|
||||||
|
|
||||||
# We need int64_t or else certian parts of the compile will fail.
|
# We need int64_t or else certain parts of the compile will fail.
|
||||||
if test "x$ac_cv_have_int64_t" = "xno" && \
|
if test "x$ac_cv_have_int64_t" = "xno" && \
|
||||||
test "x$ac_cv_sizeof_long_int" != "x8" && \
|
test "x$ac_cv_sizeof_long_int" != "x8" && \
|
||||||
test "x$ac_cv_sizeof_long_long_int" = "x0" ; then
|
test "x$ac_cv_sizeof_long_long_int" = "x0" ; then
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
CSIH_SCRIPT=/usr/share/csih/cygwin-service-installation-helper.sh
|
CSIH_SCRIPT=/usr/share/csih/cygwin-service-installation-helper.sh
|
||||||
|
|
||||||
# List of apps used. This is checkad for existance in csih_sanity_check
|
# List of apps used. This is checkad for existence in csih_sanity_check
|
||||||
# Don't use *any* transient commands before sourcing the csih helper script,
|
# Don't use *any* transient commands before sourcing the csih helper script,
|
||||||
# otherwise the sanity checks are short-circuited.
|
# otherwise the sanity checks are short-circuited.
|
||||||
declare -a csih_required_commands=(
|
declare -a csih_required_commands=(
|
||||||
|
|
|
@ -127,7 +127,7 @@ readonly -f check_user_homedir
|
||||||
check_user_dot_ssh_dir() {
|
check_user_dot_ssh_dir() {
|
||||||
if [ -e "${pwdhome}/.ssh" -a ! -d "${pwdhome}/.ssh" ]
|
if [ -e "${pwdhome}/.ssh" -a ! -d "${pwdhome}/.ssh" ]
|
||||||
then
|
then
|
||||||
csih_error "${pwdhome}/.ssh is existant but not a directory. Cannot create user identity files."
|
csih_error "${pwdhome}/.ssh is existent but not a directory. Cannot create user identity files."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -e "${pwdhome}/.ssh" ]
|
if [ ! -e "${pwdhome}/.ssh" ]
|
||||||
|
|
|
@ -5,7 +5,7 @@ SVR4 style package tools.
|
||||||
|
|
||||||
The build process is called a 'dummy install'.. Which means the software does
|
The build process is called a 'dummy install'.. Which means the software does
|
||||||
a "make install-nokeys DESTDIR=[fakeroot]". This way all manpages should
|
a "make install-nokeys DESTDIR=[fakeroot]". This way all manpages should
|
||||||
be handled correctly and key are defered until the first time the sshd
|
be handled correctly and key are deferred until the first time the sshd
|
||||||
is started.
|
is started.
|
||||||
|
|
||||||
Directions:
|
Directions:
|
||||||
|
|
|
@ -56,7 +56,7 @@ arbitrary TCP/IP ports can also be forwarded over the secure channel.
|
||||||
|
|
||||||
OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
|
OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
|
||||||
up to date in terms of security and features, as well as removing all
|
up to date in terms of security and features, as well as removing all
|
||||||
patented algorithms to seperate libraries (OpenSSL).
|
patented algorithms to separate libraries (OpenSSL).
|
||||||
|
|
||||||
This package includes all files necessary for both the OpenSSH
|
This package includes all files necessary for both the OpenSSH
|
||||||
client and server.
|
client and server.
|
||||||
|
@ -70,7 +70,7 @@ arbitrary TCP/IP ports can also be forwarded over the secure channel.
|
||||||
|
|
||||||
OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
|
OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
|
||||||
up to date in terms of security and features, as well as removing all
|
up to date in terms of security and features, as well as removing all
|
||||||
patented algorithms to seperate libraries (OpenSSL).
|
patented algorithms to separate libraries (OpenSSL).
|
||||||
|
|
||||||
This package contains an X Window System passphrase dialog for OpenSSH.
|
This package contains an X Window System passphrase dialog for OpenSSH.
|
||||||
|
|
||||||
|
|
|
@ -657,7 +657,7 @@ mm_sshpam_query(void *ctx, char **name, char **info,
|
||||||
sshpam_set_maxtries_reached(buffer_get_int(&m));
|
sshpam_set_maxtries_reached(buffer_get_int(&m));
|
||||||
*num = buffer_get_int(&m);
|
*num = buffer_get_int(&m);
|
||||||
if (*num > PAM_MAX_NUM_MSG)
|
if (*num > PAM_MAX_NUM_MSG)
|
||||||
fatal("%s: recieved %u PAM messages, expected <= %u",
|
fatal("%s: received %u PAM messages, expected <= %u",
|
||||||
__func__, *num, PAM_MAX_NUM_MSG);
|
__func__, *num, PAM_MAX_NUM_MSG);
|
||||||
*prompts = xcalloc((*num + 1), sizeof(char *));
|
*prompts = xcalloc((*num + 1), sizeof(char *));
|
||||||
*echo_on = xcalloc((*num + 1), sizeof(u_int));
|
*echo_on = xcalloc((*num + 1), sizeof(u_int));
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
* function with the following modifications:
|
* function with the following modifications:
|
||||||
* 1. The input password and salt are preprocessed with SHA512.
|
* 1. The input password and salt are preprocessed with SHA512.
|
||||||
* 2. The output length is expanded to 256 bits.
|
* 2. The output length is expanded to 256 bits.
|
||||||
* 3. Subsequently the magic string to be encrypted is lengthened and modifed
|
* 3. Subsequently the magic string to be encrypted is lengthened and modified
|
||||||
* to "OxychromaticBlowfishSwatDynamite"
|
* to "OxychromaticBlowfishSwatDynamite"
|
||||||
* 4. The hash function is defined to perform 64 rounds of initial state
|
* 4. The hash function is defined to perform 64 rounds of initial state
|
||||||
* expansion. (More rounds are performed by iterating the hash.)
|
* expansion. (More rounds are performed by iterating the hash.)
|
||||||
|
|
|
@ -41,7 +41,7 @@ typedef void *HANDLE;
|
||||||
#define UNLEN 256
|
#define UNLEN 256
|
||||||
|
|
||||||
/* Cygwin functions for which declarations are only available when including
|
/* Cygwin functions for which declarations are only available when including
|
||||||
windows headers, so we have to define them here explicitely. */
|
windows headers, so we have to define them here explicitly. */
|
||||||
extern HANDLE cygwin_logon_user (const struct passwd *, const char *);
|
extern HANDLE cygwin_logon_user (const struct passwd *, const char *);
|
||||||
extern void cygwin_set_impersonation_token (const HANDLE);
|
extern void cygwin_set_impersonation_token (const HANDLE);
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
/* NeXT's readdir() is BSD (struct direct) not POSIX (struct dirent) */
|
/* NeXT's readdir() is BSD (struct direct) not POSIX (struct dirent) */
|
||||||
#define dirent direct
|
#define dirent direct
|
||||||
|
|
||||||
/* Swap out NeXT's BSD wait() for a more POSIX complient one */
|
/* Swap out NeXT's BSD wait() for a more POSIX compliant one */
|
||||||
pid_t posix_wait(int *);
|
pid_t posix_wait(int *);
|
||||||
#define wait(a) posix_wait(a)
|
#define wait(a) posix_wait(a)
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
* probably requires libm on most operating systems. Don't yet
|
* probably requires libm on most operating systems. Don't yet
|
||||||
* support the exponent (e,E) and sigfig (g,G). Also, fmtint()
|
* support the exponent (e,E) and sigfig (g,G). Also, fmtint()
|
||||||
* was pretty badly broken, it just wasn't being exercised in ways
|
* was pretty badly broken, it just wasn't being exercised in ways
|
||||||
* which showed it, so that's been fixed. Also, formated the code
|
* which showed it, so that's been fixed. Also, formatted the code
|
||||||
* to mutt conventions, and removed dead code left over from the
|
* to mutt conventions, and removed dead code left over from the
|
||||||
* original. Also, there is now a builtin-test, just compile with:
|
* original. Also, there is now a builtin-test, just compile with:
|
||||||
* gcc -DTEST_SNPRINTF -o snprintf snprintf.c -lm
|
* gcc -DTEST_SNPRINTF -o snprintf snprintf.c -lm
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
#define _BSD_WAITPID_H
|
#define _BSD_WAITPID_H
|
||||||
|
|
||||||
#ifndef HAVE_WAITPID
|
#ifndef HAVE_WAITPID
|
||||||
/* Clean out any potental issues */
|
/* Clean out any potential issues */
|
||||||
#undef WIFEXITED
|
#undef WIFEXITED
|
||||||
#undef WIFSTOPPED
|
#undef WIFSTOPPED
|
||||||
#undef WIFSIGNALED
|
#undef WIFSIGNALED
|
||||||
|
|
|
@ -41,7 +41,7 @@ explicit_bzero(void *p, size_t n)
|
||||||
/*
|
/*
|
||||||
* clang -fsanitize=memory needs to intercept memset-like functions
|
* clang -fsanitize=memory needs to intercept memset-like functions
|
||||||
* to correctly detect memory initialisation. Make sure one is called
|
* to correctly detect memory initialisation. Make sure one is called
|
||||||
* directly since our indirection trick above sucessfully confuses it.
|
* directly since our indirection trick above successfully confuses it.
|
||||||
*/
|
*/
|
||||||
#if defined(__has_feature)
|
#if defined(__has_feature)
|
||||||
# if __has_feature(memory_sanitizer)
|
# if __has_feature(memory_sanitizer)
|
||||||
|
|
|
@ -188,7 +188,7 @@ scan_scaled(char *scaled, long long *result)
|
||||||
/* scale whole part */
|
/* scale whole part */
|
||||||
whole *= scale_fact;
|
whole *= scale_fact;
|
||||||
|
|
||||||
/* truncate fpart so it does't overflow.
|
/* truncate fpart so it doesn't overflow.
|
||||||
* then scale fractional part.
|
* then scale fractional part.
|
||||||
*/
|
*/
|
||||||
while (fpart >= LLONG_MAX / scale_fact) {
|
while (fpart >= LLONG_MAX / scale_fact) {
|
||||||
|
|
|
@ -99,7 +99,7 @@ nischeck(char *namep)
|
||||||
|
|
||||||
if ((fd = fopen (password_file, "r")) == NULL) {
|
if ((fd = fopen (password_file, "r")) == NULL) {
|
||||||
/*
|
/*
|
||||||
* If the passwd file has dissapeared we are in a bad state.
|
* If the passwd file has disappeared we are in a bad state.
|
||||||
* However, returning 0 will send us back through the
|
* However, returning 0 will send us back through the
|
||||||
* authentication scheme that has checked the ia database for
|
* authentication scheme that has checked the ia database for
|
||||||
* passwords earlier.
|
* passwords earlier.
|
||||||
|
|
|
@ -72,7 +72,7 @@
|
||||||
* Please make sure that your system defines BYTE_ORDER. If your
|
* Please make sure that your system defines BYTE_ORDER. If your
|
||||||
* architecture is little-endian, make sure it also defines
|
* architecture is little-endian, make sure it also defines
|
||||||
* LITTLE_ENDIAN and that the two (BYTE_ORDER and LITTLE_ENDIAN) are
|
* LITTLE_ENDIAN and that the two (BYTE_ORDER and LITTLE_ENDIAN) are
|
||||||
* equivilent.
|
* equivalent.
|
||||||
*
|
*
|
||||||
* If your system does not define the above, then you can do so by
|
* If your system does not define the above, then you can do so by
|
||||||
* hand like this:
|
* hand like this:
|
||||||
|
|
4
packet.c
4
packet.c
|
@ -597,7 +597,7 @@ ssh_packet_close_internal(struct ssh *ssh, int do_close)
|
||||||
state->newkeys[mode] = NULL;
|
state->newkeys[mode] = NULL;
|
||||||
ssh_clear_newkeys(ssh, mode); /* next keys */
|
ssh_clear_newkeys(ssh, mode); /* next keys */
|
||||||
}
|
}
|
||||||
/* comression state is in shared mem, so we can only release it once */
|
/* compression state is in shared mem, so we can only release it once */
|
||||||
if (do_close && state->compression_buffer) {
|
if (do_close && state->compression_buffer) {
|
||||||
sshbuf_free(state->compression_buffer);
|
sshbuf_free(state->compression_buffer);
|
||||||
if (state->compression_out_started) {
|
if (state->compression_out_started) {
|
||||||
|
@ -965,7 +965,7 @@ ssh_packet_need_rekeying(struct ssh *ssh, u_int outbound_packet_len)
|
||||||
state->p_read.packets > MAX_PACKETS)
|
state->p_read.packets > MAX_PACKETS)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
/* Rekey after (cipher-specific) maxiumum blocks */
|
/* Rekey after (cipher-specific) maximum blocks */
|
||||||
out_blocks = ROUNDUP(outbound_packet_len,
|
out_blocks = ROUNDUP(outbound_packet_len,
|
||||||
state->newkeys[MODE_OUT]->enc.block_size);
|
state->newkeys[MODE_OUT]->enc.block_size);
|
||||||
return (state->max_blocks_out &&
|
return (state->max_blocks_out &&
|
||||||
|
|
2
sshd.8
2
sshd.8
|
@ -277,7 +277,7 @@ locked, listed in
|
||||||
.Cm DenyUsers
|
.Cm DenyUsers
|
||||||
or its group is listed in
|
or its group is listed in
|
||||||
.Cm DenyGroups
|
.Cm DenyGroups
|
||||||
\&. The definition of a locked account is system dependant. Some platforms
|
\&. The definition of a locked account is system dependent. Some platforms
|
||||||
have their own account database (eg AIX) and some modify the passwd field (
|
have their own account database (eg AIX) and some modify the passwd field (
|
||||||
.Ql \&*LK\&*
|
.Ql \&*LK\&*
|
||||||
on Solaris and UnixWare,
|
on Solaris and UnixWare,
|
||||||
|
|
Loading…
Reference in New Issue