History log of /openssh-portable/openbsd-compat/ (Results 76 - 100 of 842)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
2753521e05-Jul-2019 Darren Tucker

Add prototype for compat strndup.(bz#3032).

73eb6cef15-Jun-2019 Darren Tucker

Include stdio.h for vsnprintf.

Patch from mforney at mforney.org.

adcaf40f07-Jun-2019 Darren Tucker

upstream rev 1.27: fix integer overflow.

Cast bitcount to u_in64_t before bit shifting to prevent integer overflow
on 32bit platforms which cause incorrect results when adding a block

upstream rev 1.27: fix integer overflow.

Cast bitcount to u_in64_t before bit shifting to prevent integer overflow
on 32bit platforms which cause incorrect results when adding a block
>=512M in size. sha1 patch from ante84 at gmail.com via openssh github,
sha2 with djm@, ok tedu@

show more ...

7689048e07-Jun-2019 Darren Tucker

upstream rev 1.25: add DEF_WEAK.

Wrap blowfish, sha*, md5, and rmd160 so that internal calls go direct
ok deraadt@

55f3153307-Jun-2019 Darren Tucker

upstream rev 1.25: add sys/types.h

10974f9807-Jun-2019 Darren Tucker

upstream: Use explicit_bzero instead of memset

in hash Final and End functions. OK deraadt@ djm@

2b3402dc07-Jun-2019 Darren Tucker

Always clean up before and after utimensat test.

1828981907-Jun-2019 Darren Tucker

Update utimensat test.

POSIX specifies that when given a symlink, AT_SYMLINK_NOFOLLOW should
update the symlink and not the destination. The compat code doesn't
have a way to do thi

Update utimensat test.

POSIX specifies that when given a symlink, AT_SYMLINK_NOFOLLOW should
update the symlink and not the destination. The compat code doesn't
have a way to do this, so where possible it fails instead of following a
symlink when explicitly asked not to. Instead of checking for an explicit
failure, check that it does not update the destination, which both the
real and compat implmentations should honour.

Inspired by github pull req #125 from chutzpah at gentoo.org.

show more ...

b7b8334926-Apr-2019 Darren Tucker

Don't install duplicate STREAMS modules on Solaris

Check if STREAMS modules are already installed on pty before installing
since when compiling with XPG>=4 they will likely be installed

Don't install duplicate STREAMS modules on Solaris

Check if STREAMS modules are already installed on pty before installing
since when compiling with XPG>=4 they will likely be installed already.
Prevents hangs and duplicate lines on the terminal. bz#2945 and bz#2998,
patch from djm@

show more ...

Revision tags: V_8_0_P1
79a87d3202-Apr-2019 Darren Tucker

Remove "struct ssh" from sys_auth_record_login.

It's not needed, and is not available from the call site in loginrec.c
Should only affect AIX, spotted by Kevin Brott.

138c0d5202-Apr-2019 Darren Tucker

Adapt custom_failed_login to new prototype.

Spotted by Kevin Brott.

43f47ebb31-Mar-2019 Tim Rice

Only use O_NOFOLLOW in fchownat and fchmodat if defined

f5abb05f27-Mar-2019 Darren Tucker

Only use O_NOFOLLOW in utimensat if defined.

Fixes build on systems that don't have it (Solaris <=9) Found by
Tom G. Christensen.

a212107b12-Mar-2019 Darren Tucker

Replace alloca with xcalloc.

The latter checks for memory exhaustion and integer overflow and may be
at a less predictable place. Sanity check by vinschen at redhat.com, ok
djm@

daa7505a11-Mar-2019 Darren Tucker

Use Cygwin-specific matching only for users+groups.

Patch from vinschen at redhat.com, updated a little by me.

37638c7520-Feb-2019 Corinna Vinschen

Cygwin: implement case-insensitive Unicode user and group name matching

The previous revert enabled case-insensitive user names again. This
patch implements the case-insensitive user an

Cygwin: implement case-insensitive Unicode user and group name matching

The previous revert enabled case-insensitive user names again. This
patch implements the case-insensitive user and group name matching.
To allow Unicode chars, implement the matcher using wchar_t chars in
Cygwin-specific code. Keep the generic code changes as small as possible.
Cygwin: implement case-insensitive Unicode user and group name matching

Signed-off-by: Corinna Vinschen <vinschen@redhat.com>

show more ...

bed1d43621-Feb-2019 Darren Tucker

Revert unintended parts of previous commit.

f02afa3520-Feb-2019 Corinna Vinschen

Revert "[auth.c] On Cygwin, refuse usernames that have differences in case"

This reverts commit acc9b29486dfd649dfda474e5c1a03b317449f1c.

Signed-off-by: Corinna Vinschen <vinschen@r

Revert "[auth.c] On Cygwin, refuse usernames that have differences in case"

This reverts commit acc9b29486dfd649dfda474e5c1a03b317449f1c.

Signed-off-by: Corinna Vinschen <vinschen@redhat.com>

show more ...

f236ca2723-Jan-2019 Darren Tucker

Also undef SIMPLEQ_FOREACH_SAFE.

Prevents macro redefinition warning on at least NetBSD 6.1.

08f66d9f19-Jan-2019 Damien Miller

remove vestiges of old packet API from loginrec.c

a6258e5d17-Jan-2019 Darren Tucker

Add minimal fchownat and fchmodat implementations.

Fixes builds on at least OS X Lion, NetBSD 6 and Solaris 10.

091093d217-Jan-2019 Darren Tucker

Add a minimal implementation of utimensat().

Some systems (eg older OS X) do not have utimensat, so provide minimal
implementation in compat layer. Fixes build on at least El Capitan.

8a85f54525-Nov-2018 Darren Tucker

Include stdio.h for FILE if needed.

16fb23f224-Nov-2018 Darren Tucker

Reverse order of OpenSSL init functions.

Try the new init function (OPENSSL_init_crypto) before falling back to
the old one (OpenSSL_add_all_algorithms).

42c5ec4b22-Nov-2018 Damien Miller

refactor libcrypto initialisation

Don't call OpenSSL_add_all_algorithms() unless OpenSSL actually
supports it.

Move all libcrypto initialisation to a single function, and call t

refactor libcrypto initialisation

Don't call OpenSSL_add_all_algorithms() unless OpenSSL actually
supports it.

Move all libcrypto initialisation to a single function, and call that
from seed_rng() that is called early in each tool's main().

Prompted by patch from Rosen Penev

show more ...

12345678910>>...34