Darren Tucker
e627067ec8
Add test building upstream OpenBSD source.
2021-04-28 11:43:54 +10:00
Darren Tucker
1b8108ebd1
Test against OpenSSL 1.1.0h instead of 1.1.0g.
...
1.1.0g requires a perl glob module that's not installed by default.
2021-04-27 14:22:20 +10:00
Darren Tucker
9bc20efd39
Use the default VM type for libcrypto ver tests.
2021-04-27 12:37:59 +10:00
Darren Tucker
9f79e80dc4
Always build OpenSSL shared.
...
This is the default for current versions but we need it to test against
earlier versions.
2021-04-27 12:32:46 +10:00
Darren Tucker
b3cc9fbdff
Fix custom OpenSSL tests.
...
Check out specified OpenSSL version. Install custom libcrypto where
configure expects to find it. Remove unneeded OpenSSL config time
options. Older OpenSSL versions were not make -j safe so remove it.
2021-04-27 11:44:29 +10:00
Darren Tucker
7753260987
Export CC and CFLAGS for c89 test.
2021-04-26 17:20:23 +10:00
Darren Tucker
33f62dfbe8
Add c89 here too.
2021-04-26 17:13:44 +10:00
Darren Tucker
da9d59f526
Add test against OpenSSL w/out ECC.
2021-04-26 15:34:23 +10:00
Darren Tucker
29e194a752
Ensure we can still build with C89.
2021-04-26 14:50:58 +10:00
Darren Tucker
a38016d369
Interop test agains PuTTY.
2021-04-26 14:50:58 +10:00
Darren Tucker
095b0307a7
Support testing against arbitary libcrytpo vers.
...
Add tests against various LibreSSL and OpenSSL versions.
2021-04-26 14:50:44 +10:00
Darren Tucker
b16082aa11
Add fbsd10 test target.
2021-04-26 13:35:44 +10:00
Darren Tucker
2c805f16b2
Disable compiler hardening on nbsd4.
...
The system compiler supports -fstack-protector-all, but using it will
result in an internal compiler error on some files.
2021-04-25 14:15:02 +10:00
Darren Tucker
6a5d393056
Add nbsd3, nbsd4 and nbsd9 test targets.
2021-04-25 13:01:34 +10:00
Darren Tucker
d1aed05bd2
Comment out nbsd2 test target for now.
2021-04-24 22:03:46 +10:00
Darren Tucker
a6b4ec94e5
Add OPENBSD ORIGINAL marker.
2021-04-24 17:52:24 +10:00
Darren Tucker
3737c9f66e
Replace "==" (a bashism) with "=".
2021-04-23 19:49:46 +10:00
Darren Tucker
a116b6f5be
Add nbsd2 test target.
2021-04-23 16:34:48 +10:00
Darren Tucker
196bf2a9bb
Add obsd68 test target.
2021-04-23 14:54:10 +10:00
Darren Tucker
e3ba6574ed
Remove dependency on bash.
2021-04-23 14:53:32 +10:00
Darren Tucker
db1f9ab8fe
Add obsd67 test target.
2021-04-23 14:41:13 +10:00
Darren Tucker
c039a6bf79
Re-add macos-11.0 test target.
2021-04-23 11:08:23 +10:00
Darren Tucker
a6db3a47b5
Add openindiana test target.
2021-04-23 10:28:28 +10:00
Darren Tucker
3fe7e73b02
Test krb5 on Solaris 11 too.
2021-04-23 10:26:35 +10:00
Darren Tucker
f57fbfe5eb
Don't always set SUDO.
...
Rely on sourcing configs to set as appropriate.
2021-04-22 22:29:33 +10:00
Darren Tucker
e428f29402
Remove now-unused 2nd arg to configs.
2021-04-22 22:29:33 +10:00
Darren Tucker
cb4ff640d7
Add win10 test target.
2021-04-22 22:29:33 +10:00
Darren Tucker
4457837238
Add nbsd8 test target.
2021-04-22 22:29:33 +10:00
Darren Tucker
bd4fba22e1
Add obsd51 target.
2021-04-22 22:29:33 +10:00
Darren Tucker
9403d0e805
Add fbsd13 target.
2021-04-22 22:29:33 +10:00
Damien Miller
e86968280e
depend
2021-04-16 13:55:25 +10:00
Damien Miller
2fb25ca11e
crank version in README and RPM spec files
2021-04-16 13:53:02 +10:00
djm@openbsd.org
b2b60ebab0
upstream: openssh-8.6
...
OpenBSD-Commit-ID: b5f3e133c846127ec114812248bc17eff07c3e19
2021-04-16 13:43:30 +10:00
markus@openbsd.org
faf2b86a46
upstream: do not pass file/func to monitor; noted by Ilja van Sprundel;
...
ok djm@
OpenBSD-Commit-ID: 85ae5c063845c410283cbdce685515dcd19479fa
2021-04-16 13:24:33 +10:00
Damien Miller
2dc328023f
sshd don't exit on transient read errors
...
openssh-8.5 introduced a regression that would cause sshd to exit
because of transient read errors on the network socket (e.g. EINTR,
EAGAIN). Reported by balu.gajjala AT gmail.com via bz3297
2021-04-14 11:42:55 +10:00
Damien Miller
d5d6b7d76d
perform report_failed_grab() inline
2021-04-10 18:45:00 +10:00
Damien Miller
ea996ce2d0
dedicated gnome-ssk-askpass3 source
...
Compatibility with Wayland requires that we use the gdk_seat_grab()
API for grabbing mouse/keyboard, however these API don't exist in
Gtk+2.
This branches gnome-ssk-askpass2.c => gnome-ssk-askpass3.c and
makes the changes to use the gdk_seat_grab() instead of grabbing
mouse/focus separately via GDK.
In the future, we can also use the branched file to avoid some
API that has been soft-deprecated in GTK+3, e.g. gtk_widget_modify_fg
2021-04-10 18:22:57 +10:00
Darren Tucker
bfa5405da0
Ensure valgrind-out exists.
...
Normally the regress tests would create it, but running the unit tests
on their own would fail because the directory did not exist.
2021-04-08 15:18:15 +10:00
Darren Tucker
1f189181f3
Pass OBJ to unit test make invocation.
...
At least the Valgrind unit tests uses $OBJ.
2021-04-08 15:17:19 +10:00
Darren Tucker
f42b550c28
Add pattern for valgrind-unit.
2021-04-08 14:20:12 +10:00
Darren Tucker
19e5344627
Run unit tests under valgrind.
...
Run a separate build for the unit tests under Valgrind. They take long
enough that running in parallel with the other Valgrind tests helps.
2021-04-08 13:35:14 +10:00
Darren Tucker
80032102d0
ifdef out MIN and MAX.
...
In -portable, defines.h ensures that these are defined, so redefining
potentially causes a warning. We don't just delete it to make any
future code syncs a little but easier. bz#3293.
2021-04-08 13:25:57 +10:00
Darren Tucker
d1bd184046
Remove only use of warn().
...
The warn() function is only used in one place in portable and does not
exist upstream. Upgrade the only instance it's used to fail()
(the privsep/sandbox+proxyconnect, from back when that was new) and
remove the now-unused function.
2021-04-07 17:02:51 +10:00
Darren Tucker
fea8f4b1aa
Move make_tmpdir() into portable-specific area.
...
Reduces diff vs OpenBSD and makes it more likely diffs will apply
cleanly.
2021-04-07 17:02:51 +10:00
dtucker@openbsd.org
13e5fa2acf
upstream: Add TEST_SSH_ELAPSED_TIMES environment variable to print the
...
elapsed time in seconds of each test. This depends on "date +%s" which is
not specified by POSIX but is commonly implemented.
OpenBSD-Regress-ID: ec3c8c19ff49b2192116a0a646ee7c9b944e8a9c
2021-04-07 17:02:51 +10:00
Darren Tucker
ef4f46ab43
Move the TEST_SSH_PORT section down a bit.
...
This groups the portable-specific changes together and makes it a
little more likely that patches will apply cleanly.
2021-04-07 17:02:51 +10:00
Darren Tucker
3674e33fa7
Further split Valgrind tests.
...
Even split in two, the Valgrind tests take by far the longest to run,
so split them four ways to further increase parallelism.
2021-04-07 17:02:27 +10:00
djm@openbsd.org
961af266b8
upstream: include "ssherr.h" not <ssherr.h>; from Balu Gajjala via
...
bz#3292
OpenBSD-Commit-ID: e9535cd9966eb2e69e73d1ede1f44905c30310bd
2021-04-07 09:25:53 +10:00
Damien Miller
e7d0a285db
wrap struct rlimit in HAVE_GETRLIMIT too
2021-04-07 08:50:38 +10:00
Damien Miller
f283a6c2e0
wrap getrlimit call in HAVE_GETRLIMIT; bz3291
2021-04-07 08:20:59 +10:00