]>
git.ipfire.org Git - thirdparty/openssh-portable.git/log
Darren Tucker [Fri, 12 Mar 2021 04:58:57 +0000 (15:58 +1100)]
Allow (but return EACCES) fstatat64 in sandbox.
This is apparently used in some configurations of OpenSSL when glibc
has getrandom(). bz#3276, patch from Kris Karas, ok djm@
Darren Tucker [Fri, 12 Mar 2021 02:16:10 +0000 (13:16 +1100)]
Move generic includes outside of ifdef.
This ensures that the macros in log.h are defined in the case where
either of --with-solaris-projects or --with-solaris-privs are used
without --with-solaris-contracts. bz#3278.
Damien Miller [Tue, 2 Mar 2021 10:31:47 +0000 (21:31 +1100)]
update depend
Damien Miller [Tue, 2 Mar 2021 10:30:14 +0000 (21:30 +1100)]
update relnotes URL
Damien Miller [Tue, 2 Mar 2021 10:29:54 +0000 (21:29 +1100)]
update RPM spec version numbers
djm@openbsd.org [Tue, 2 Mar 2021 01:48:18 +0000 (01:48 +0000)]
upstream: openssh-8.5
OpenBSD-Commit-ID:
185e85d60fe042b8f8fa1ef29d4ef637bdf397d6
Darren Tucker [Mon, 1 Mar 2021 10:13:24 +0000 (21:13 +1100)]
Only upload config logs if configure fails.
dtucker@openbsd.org [Sun, 28 Feb 2021 22:56:30 +0000 (22:56 +0000)]
upstream: Add %k to list of keywords. From
=?UTF-8?q?=20Eero=20H=C3=A4kkinenvia=20bz#3267?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
OpenBSD-Commit-ID:
9c87f39a048cee2a7d1c8bab951b2f716256865e
dtucker@openbsd.org [Sun, 28 Feb 2021 01:50:47 +0000 (01:50 +0000)]
upstream: Do not try to reset signal handler for signal 0 in
subprocess. Prevents spurious debug message. ok djm@
OpenBSD-Commit-ID:
7f9785e292dcf304457566ad4637effd27ad1d46
djm@openbsd.org [Sat, 27 Feb 2021 23:42:37 +0000 (23:42 +0000)]
upstream: fix alphabetic ordering of options; spotted by Iain Morgan
OpenBSD-Commit-ID:
f955fec617d74af0feb5b275831a9fee813d7ad5
Darren Tucker [Sat, 27 Feb 2021 01:25:25 +0000 (12:25 +1100)]
zlib is now optional.
Jeffrey H. Johnson [Sat, 27 Feb 2021 01:04:58 +0000 (01:04 +0000)]
Fix punctuatio and typo in README.md.
Some very minor fixes, missing 's' and punctuation.
Damien Miller [Fri, 26 Feb 2021 05:45:50 +0000 (16:45 +1100)]
Revert "ssh: optional bind interface if bind address specified."
This reverts commit
5a878a71a3528c2626aa1d331934fd964782d41c .
Apologies - I accidentally pushed this.
Damien Miller [Fri, 26 Feb 2021 04:45:38 +0000 (15:45 +1100)]
detech BSD libc hash functions in libbsd / libmd
Some Linux distributions are shipping the BSD-style hashing functions
(e.g. SHA256Update) in libbsd and/or libmd. Detect this situation to
avoid header/replacement clashes later. ok dtucker@
Dmitrii Turlupov [Thu, 4 Feb 2021 13:27:31 +0000 (16:27 +0300)]
ssh: optional bind interface if bind address specified.
Allows the -b and -B options to be used together.
For example, when the interface is in the VRF.
djm@openbsd.org [Fri, 26 Feb 2021 04:18:42 +0000 (04:18 +0000)]
upstream: remove this KEX fuzzer; it's awkward to use and doesn't play
nice with popular fuzzing drivers like libfuzzer. AFAIK nobody has used it
but me.
OpenBSD-Regress-ID:
cad919522b3ce90c147c95abaf81b0492ac296c9
Darren Tucker [Fri, 26 Feb 2021 00:49:19 +0000 (11:49 +1100)]
Remove macos-11.00 PAM test target too.
These are failing apparently due to some kind of infrastructure problem,
making it look like every commit is busted.
djm@openbsd.org [Fri, 26 Feb 2021 00:16:58 +0000 (00:16 +0000)]
upstream: a bit more debugging behind #ifdef DEBUG_SK
OpenBSD-Commit-ID:
d9fbce14945721061cb322f0084c2165d33d1993
Darren Tucker [Thu, 25 Feb 2021 14:15:10 +0000 (01:15 +1100)]
Remove macos-11.0 from the test target list.
It has been consistently failing for the past few days with a github
actions internal error.
Philip Hands [Wed, 24 Feb 2021 22:43:16 +0000 (23:43 +0100)]
tidy the $INSTALLKEY_SH code layout a little
SSH-Copy-ID-Upstream:
78178aa5017222773e4c23d9001391eeaeca8983
Jakub Jelen [Tue, 29 Sep 2020 10:02:45 +0000 (10:02 +0000)]
if unable to add a missing newline, fail
SSH-Copy-ID-Upstream:
76b25e18f55499ea9edb4c4d6dc4a80bebc36d95
Philip Hands [Tue, 13 Oct 2020 12:12:58 +0000 (14:12 +0200)]
use $AUTH_KEY_DIR, now that we have it
since that was a change made since jjelen's commit was written
also, quote the variables
SSH-Copy-ID-Upstream:
588cd8e5cbf95f3443d92b9ab27c5d73ceaf6616
Jakub Jelen [Tue, 29 Sep 2020 10:00:01 +0000 (10:00 +0000)]
restorecon the correct directory
if using different path for authorized_keys file
SSH-Copy-ID-Upstream:
791a3df47b48412c726bff6f7b1d190721e65d51
djm@openbsd.org [Thu, 25 Feb 2021 03:27:34 +0000 (03:27 +0000)]
upstream: s/PubkeyAcceptedKeyTypes/PubkeyAcceptedAlgorithms/
OpenBSD-Regress-ID:
3dbc005fa29f69dc23d97e433b6dffed6fe7cb69
dtucker@openbsd.org [Wed, 24 Feb 2021 23:12:35 +0000 (23:12 +0000)]
upstream: Rename pubkeyacceptedkeytypes to pubkeyacceptedalgorithms in
test to match change to config-dump output.
OpenBSD-Regress-ID:
74c9a4ad50306be873d032819d5e55c24eb74d5d
dtucker@openbsd.org [Wed, 24 Feb 2021 01:18:08 +0000 (01:18 +0000)]
upstream: Put obsolete aliases for hostbasedalgorithms and
pubkeyacceptedalgorithms after their current names so that the config-dump
mode finds and uses the current names. Spotted by Phil Pennock.
OpenBSD-Commit-ID:
5dd10e93cccfaff3aaaa09060c917adff04a9b15
djm@openbsd.org [Tue, 23 Feb 2021 21:55:08 +0000 (21:55 +0000)]
upstream: lots more s/key types/signature algorithms/ mostly in
HostbasedAcceptedAlgorithms and HostKeyAlgorithms; prompted by Jakub Jelen
OpenBSD-Commit-ID:
3f719de4385b1a89e4323b2549c66aae050129cb
djm@openbsd.org [Tue, 23 Feb 2021 21:50:18 +0000 (21:50 +0000)]
upstream: Correct reference to signature algorithms as keys; from
Jakub Jelen
OpenBSD-Commit-ID:
36f7ecee86fc811aa0f8e21e7a872eee044b4be5
Darren Tucker [Tue, 23 Feb 2021 05:05:22 +0000 (16:05 +1100)]
Add a couple more test VMs.
Darren Tucker [Sun, 21 Feb 2021 21:09:27 +0000 (08:09 +1100)]
Valgrind test: split and move up list.
Since the valgrind test takes so long it approaches the limit allowed by
github, move it to the head of the list so it's the first one started and
split the longest tests out into a second instance that runs concurrently
with the first.
djm@openbsd.org [Tue, 23 Feb 2021 00:05:31 +0000 (00:05 +0000)]
upstream: warn when the user specifies a ForwardAgent path that does
not exist and exit if ExitOnForwardFailure is set; bz3264
OpenBSD-Commit-ID:
72f7875865e723e464c71bf8692e83110699bf26
Darren Tucker [Sat, 20 Feb 2021 02:34:02 +0000 (13:34 +1100)]
Disable rlimit sandbox, doesn't work with valgrind
Only run regress tests, runing unit tests as well makes it run longer
than allowed y github.
Darren Tucker [Sat, 20 Feb 2021 02:06:25 +0000 (13:06 +1100)]
Upload valgrind logs on failure.
Darren Tucker [Fri, 19 Feb 2021 11:18:50 +0000 (22:18 +1100)]
Rename "vm" to "os" in selfhosted to match c-cpp.
Should make it easier to share code or maybe merge at some point.
Darren Tucker [Fri, 19 Feb 2021 11:15:22 +0000 (22:15 +1100)]
Upload regress failure logs in c-cpp too.
Darren Tucker [Fri, 19 Feb 2021 11:13:36 +0000 (22:13 +1100)]
Comment out Solaris 64bit PAM build...
until I can figure out why it's failing.
Darren Tucker [Thu, 18 Feb 2021 23:20:17 +0000 (10:20 +1100)]
Actually run Valgrind tests.
Darren Tucker [Thu, 18 Feb 2021 23:16:56 +0000 (10:16 +1100)]
Add test against Valgrind.
Darren Tucker [Thu, 18 Feb 2021 05:30:01 +0000 (16:30 +1100)]
Add fbsd12 test target.
Darren Tucker [Thu, 18 Feb 2021 04:21:13 +0000 (15:21 +1100)]
Remove unused arg.
Darren Tucker [Thu, 18 Feb 2021 03:54:07 +0000 (14:54 +1100)]
Add DEBUG_SK to kitchensink builds.
Darren Tucker [Thu, 18 Feb 2021 03:53:14 +0000 (14:53 +1100)]
Add bbone test target (arm32).
djm@openbsd.org [Thu, 18 Feb 2021 02:49:35 +0000 (02:49 +0000)]
upstream: Fix the hostkeys rotation extension documentation
The documentation was lacking the needed want-reply field in the initial
global request.
https://github.com/openssh/openssh-portable/pull/218 by dbussink
OpenBSD-Commit-ID:
051824fd78edf6d647a0b9ac011bf88e28775054
djm@openbsd.org [Thu, 18 Feb 2021 02:15:07 +0000 (02:15 +0000)]
upstream: make names in function prototypes match those in
definition from https://github.com/openssh/openssh-portable/pull/225 by
ZenithalHourlyRate
OpenBSD-Commit-ID:
7c736307bf3f2c7cb24d6f82f244eee959485acd
djm@openbsd.org [Thu, 18 Feb 2021 02:13:58 +0000 (02:13 +0000)]
upstream: unbreak SK_DEBUG builds
from https://github.com/openssh/openssh-portable/pull/225 by
ZenithalHourlyRate
OpenBSD-Commit-ID:
28d7259ce1b04d025411464decfa2f1a097b43eb
djm@openbsd.org [Thu, 18 Feb 2021 00:30:17 +0000 (00:30 +0000)]
upstream: sftp-server: implement limits@openssh.com extension
This is a simple extension that allows the server to clearly
communicate transfer limits it is imposing so the client doesn't
have to guess, or force the user to manually tune. This is
particularly useful when an attempt to use too large of a value
causes the server to abort the connection.
Patch from Mike Frysinger; ok dtucker@
OpenBSD-Commit-ID:
f96293221e5aa24102d9bf30e4f4ef04d5f4fb51
Damien Miller [Thu, 18 Feb 2021 01:06:25 +0000 (12:06 +1100)]
support OpenSSL 3.x cipher IV API change
OpenSSL renamed the "get current CIPHER_CTX" IV operation in 3.x.
This uses the new name if available.
https://github.com/openssl/openssl/issues/13411
bz#3238 ok dtucker@
Damien Miller [Thu, 18 Feb 2021 00:25:38 +0000 (11:25 +1100)]
prefer login_getpwclass() to login_getclass()
FreeBSD has login_getpwclass() that does some special magic for
UID=0. Prefer this to login_getclass() as its easier to emulate
the former with the latter.
Based on FreeBSD PR 37416 via Ed Maste; ok dtucker@
Darren Tucker [Wed, 17 Feb 2021 23:45:27 +0000 (10:45 +1100)]
Fixing quoting for installing moduli on target guest.
Darren Tucker [Wed, 17 Feb 2021 23:27:16 +0000 (10:27 +1100)]
Install moduli on target not host.
Damien Miller [Wed, 17 Feb 2021 23:33:58 +0000 (10:33 +1100)]
don't free string returned by login_getcapstr(3)
OpenBSD and NetBSD require the caller to free strings returned
bu the login_* functions, but FreeBSD requires that callers don't.
Fortunately in this case, we can harmlessly leak as the process is
about to exec the shell/command.
From https://reviews.freebsd.org/D28617 via Ed Maste; ok dtucker@
Darren Tucker [Wed, 17 Feb 2021 23:10:00 +0000 (10:10 +1100)]
Skip unit tests on sol11 to speed things up.
Darren Tucker [Wed, 17 Feb 2021 23:09:27 +0000 (10:09 +1100)]
Remove SKIP_UNIT as it needs to be a make arg.
Darren Tucker [Wed, 17 Feb 2021 23:05:03 +0000 (10:05 +1100)]
Always intall moduli.
Allows us to run tests without falling back to a fixed modulus. Ensure that
the directory exists.
Darren Tucker [Wed, 17 Feb 2021 22:59:09 +0000 (09:59 +1100)]
Quote SSHD_CONFOPTS in case it contains spaces.
Darren Tucker [Wed, 17 Feb 2021 22:51:18 +0000 (09:51 +1100)]
Fix labels on targets (dots vs underscores).
Darren Tucker [Wed, 17 Feb 2021 10:47:48 +0000 (21:47 +1100)]
More compact representation of config matrix.
Darren Tucker [Wed, 17 Feb 2021 10:19:18 +0000 (21:19 +1100)]
Skip unit tests on hosted VMs to speed things up.
Darren Tucker [Wed, 17 Feb 2021 09:21:29 +0000 (20:21 +1100)]
Merge macos and ubuntu tests.
Darren Tucker [Wed, 17 Feb 2021 07:41:30 +0000 (18:41 +1100)]
Convert most github hosted tests to new config structure.
Darren Tucker [Wed, 17 Feb 2021 07:27:36 +0000 (18:27 +1100)]
Only run selfhosted tests from selfhosted repo.
Darren Tucker [Fri, 15 Jan 2021 03:11:43 +0000 (14:11 +1100)]
Add self-hosted runners for VMs of other platforms.
Github only hosts a limited number of platforms, and the runner code
is only supported on slightly wider range of platforms. To increase
our test coverage beyond that, we run the runner natively on a VM host,
where it runs a jobs that boot VMs of other platforms, waits for them
to come up then runs the build and test by ssh'ing into the guest.
This means that the minimum dependencies for the guests are quite low
(basically just sshd, a compiler and make).
The interface to the VM host is fairly simple (basically 3 scripts:
vmstartup, vmrun and vmshutdown), but those are specific to the VM host
so are not in the public repo. We also mount the working directory on the
host via sshfs, so things like artifact upload by the runner also work.
As part of this we are moving the per-test-target configs into a single
place (.github/configs) where there will be referenced by a single short
"config" key. I plan to make the github-hosted runners use this too.
The self-hosted runners are run off a private repo on github since that
prevents third parties from accessing them[0], and since runner quota is
limited on private repos, we avoid running the tests we run on the public
repo.
[0] https://docs.github.com/en/actions/hosting-your-own-runners/about-self-hosted-runners#self-hosted-runner-security-with-public-repositories
dtucker@openbsd.org [Wed, 17 Feb 2021 03:59:00 +0000 (03:59 +0000)]
upstream: Make sure puttygen is new enough to successfully run the
PuTTY interop tests, otherwise skip them.
OpenBSD-Regress-ID:
34565bb50b8aec58331ed02a5e9e0a9a929bef51
markus@openbsd.org [Mon, 15 Feb 2021 20:43:15 +0000 (20:43 +0000)]
upstream: ssh: add PermitRemoteOpen for remote dynamic forwarding
with SOCKS ok djm@, dtucker@
OpenBSD-Commit-ID:
64fe7b6360acc4ea56aa61b66498b5ecc0a96a7c
markus@openbsd.org [Mon, 15 Feb 2021 20:36:35 +0000 (20:36 +0000)]
upstream: factor out opt_array_append; ok djm@
OpenBSD-Commit-ID:
571bc5dd35f99c5cf9de6aaeac428b168218e74a
dlg@openbsd.org [Mon, 15 Feb 2021 11:09:22 +0000 (11:09 +0000)]
upstream: ProxyJump takes "none" to disable processing like
ProxyCommand does
ok djm@ jmc@
OpenBSD-Commit-ID:
941a2399da2193356bdc30b879d6e1692f18b6d3
djm@openbsd.org [Fri, 12 Feb 2021 03:49:09 +0000 (03:49 +0000)]
upstream: sftp: add missing lsetstat@openssh.com documentation
patch from Mike Frysinger
OpenBSD-Commit-ID:
9c114db88d505864075bfe7888b7c8745549715b
djm@openbsd.org [Fri, 12 Feb 2021 03:14:18 +0000 (03:14 +0000)]
upstream: factor SSH_AGENT_CONSTRAIN_EXTENSION parsing into its own
function and remove an unused variable; ok dtucker@
OpenBSD-Commit-ID:
e1a938657fbf7ef0ba5e73b30365734a0cc96559
Darren Tucker [Wed, 10 Feb 2021 23:18:05 +0000 (10:18 +1100)]
Add __NR_futex_time64 to seccomp sandbox.
This is apparently needed for (some) 32 bit platforms with glibc 2.33.
Patch from nix at esperi.org.uk and jjelen at redhat.com via bz#3260.
Darren Tucker [Fri, 5 Feb 2021 22:37:01 +0000 (09:37 +1100)]
Add a hostname function for systems that don't have it.
Some systems don't have a hostname command (it's not required by POSIX).
The do have uname -n (which is), but as found by tim@ some others (eg
UnixWare) do not report the FQDN from uname -n.
dtucker@openbsd.org [Fri, 5 Feb 2021 22:03:40 +0000 (22:03 +0000)]
upstream: Roll back the hostname->uname change in rev 1.10. It turns
out uname -n doesn't do what we need for some platforms in portable, so we'll
fix the original problem (that some other platforms don't have hostname at
all) by providing wrapper function to implement it.
OpenBSD-Regress-ID:
827a707d6201d5a8e196a8c28aec1d2c76c52341
dtucker@openbsd.org [Fri, 5 Feb 2021 06:01:58 +0000 (06:01 +0000)]
upstream: hostname is not specified by POSIX but uname -n is, so use
the latter for portability. Patch from Geert Hendrickx via github PR#208.
OpenBSD-Regress-ID:
d6a79c7c4d141a0d05ade4a042eb57dddbce89f3
David Carlier [Sat, 21 Nov 2020 12:22:23 +0000 (12:22 +0000)]
Using explicit_memset for the explicit_bzero compatibility layer.
Favoriting the native implementation in this case.
Luca Weiss [Sun, 8 Nov 2020 13:19:23 +0000 (14:19 +0100)]
Deny (non-fatal) statx in preauth privsep child.
dtucker@openbsd.org [Fri, 5 Feb 2021 02:20:23 +0000 (02:20 +0000)]
upstream: Remove debug message from sigchld handler. While this
works on OpenBSD it can cause problems on other platforms. From kircherlike
at outlook.com via bz#3259, ok djm@
OpenBSD-Commit-ID:
3e241d7ac1ee77e3de3651780b5dc47b283a7668
djm@openbsd.org [Tue, 2 Feb 2021 22:36:59 +0000 (22:36 +0000)]
upstream: whitespace
OpenBSD-Commit-ID:
544bb092e03fcbecb420196cd0f70af13ea868ad
djm@openbsd.org [Tue, 2 Feb 2021 22:36:46 +0000 (22:36 +0000)]
upstream: fix memleaks in private key deserialisation; enforce more
consistency between redundant fields in private key certificate and private
key body; ok markus@
OpenBSD-Commit-ID:
dec344e414d47f0a7adc13aecf3760fe58101240
djm@openbsd.org [Tue, 2 Feb 2021 22:35:14 +0000 (22:35 +0000)]
upstream: memleak on error path; ok markus@
OpenBSD-Commit-ID:
2091a36d6ca3980c81891a6c4bdc544e63cb13a8
djm@openbsd.org [Sun, 31 Jan 2021 22:55:29 +0000 (22:55 +0000)]
upstream: more strictly enforce KEX state-machine by banning packet
types once they are received. Fixes memleak caused by duplicate
SSH2_MSG_KEX_DH_GEX_REQUEST (spotted by portable OpenSSH kex_fuzz via
oss-fuzz #30078).
ok markus@
OpenBSD-Commit-ID:
87331c715c095b587d5c88724694cdeb701c9def
dtucker@openbsd.org [Sun, 31 Jan 2021 10:50:10 +0000 (10:50 +0000)]
upstream: Set linesize returned by getline to zero when freeing and
NULLing the returned string. OpenBSD's getline handles this just fine, but
some implementations used by -portable do not. ok djm@
OpenBSD-Commit-ID:
4d7bd5169d3397654247db9655cc69a9908d165c
Damien Miller [Sat, 30 Jan 2021 05:32:29 +0000 (16:32 +1100)]
allow a fuzz case to contain more than one request
loop until input buffer empty, no message consumed or 256 messages
processed
Damien Miller [Sat, 30 Jan 2021 05:28:23 +0000 (16:28 +1100)]
expect fuzz cases to have length prefix
might make life a little easier for the fuzzer, e.g. it can now
produce valid (multi-request) messages by smashing two cases together.
Damien Miller [Sat, 30 Jan 2021 01:03:30 +0000 (12:03 +1100)]
ssh-agent fuzzer
Damien Miller [Sat, 30 Jan 2021 01:02:46 +0000 (12:02 +1100)]
move keys out of kex_fuzz.cc into separate header
add certificates and missing key types
Damien Miller [Sat, 30 Jan 2021 01:02:10 +0000 (12:02 +1100)]
some fixed test data (mostly keys) for fuzzing
djm@openbsd.org [Sat, 30 Jan 2021 00:56:38 +0000 (00:56 +0000)]
upstream: add a SK_DUMMY_INTEGRATE define that allows the dummy
security key middleware to be directly linked; useful for writing fuzzers,
etc.
OpenBSD-Regress-ID:
0ebd00159b58ebd85e61d8270fc02f1e45df1544
djm@openbsd.org [Fri, 29 Jan 2021 06:29:46 +0000 (06:29 +0000)]
upstream: fix the values of enum sock_type
OpenBSD-Commit-ID:
18d048f4dbfbb159ff500cfc2700b8fb1407facd
djm@openbsd.org [Fri, 29 Jan 2021 06:28:10 +0000 (06:28 +0000)]
upstream: give typedef'd struct a struct name; makes the fuzzer I'm
writing a bit easier
OpenBSD-Commit-ID:
1052ab521505a4d8384d67acb3974ef81b8896cb
Damien Miller [Fri, 29 Jan 2021 00:09:14 +0000 (11:09 +1100)]
fuzz diffie-hellman-group-exchange-sha1 kex too
Damien Miller [Fri, 29 Jan 2021 00:03:35 +0000 (11:03 +1100)]
support for running kex fuzzer with null cipher
Darren Tucker [Thu, 28 Jan 2021 09:55:16 +0000 (20:55 +1100)]
make with -j2 to use available CPUs.
Darren Tucker [Thu, 28 Jan 2021 03:31:01 +0000 (14:31 +1100)]
Add test against openssl head and libressl head.
Darren Tucker [Thu, 28 Jan 2021 03:30:50 +0000 (14:30 +1100)]
Remove whitespace.
djm@openbsd.org [Wed, 27 Jan 2021 23:49:46 +0000 (23:49 +0000)]
upstream: fix leak: was double allocating kex->session_id buffer
OpenBSD-Commit-ID:
3765f4cc3ae1df874dba9102a3588ba7b48b8183
Damien Miller [Wed, 27 Jan 2021 21:57:31 +0000 (08:57 +1100)]
correct kex name in disabled code
djm@openbsd.org [Wed, 27 Jan 2021 10:15:08 +0000 (10:15 +0000)]
upstream: this needs kex.h now
OpenBSD-Commit-ID:
c5a42166c5aa002197217421a971e48be7cb5d41
djm@openbsd.org [Wed, 27 Jan 2021 10:05:28 +0000 (10:05 +0000)]
upstream: make ssh->kex->session_id a sshbuf instead of u_char*/size_t
and use that instead of global variables containing copies of it. feedback/ok
markus@
OpenBSD-Commit-ID:
a4b1b1ca4afd2e37cb9f64f737b30a6a7f96af68
djm@openbsd.org [Wed, 27 Jan 2021 09:26:53 +0000 (09:26 +0000)]
upstream: remove global variable used to stash compat flags and use the
purpose-built ssh->compat variable instead; feedback/ok markus@
OpenBSD-Commit-ID:
7c4f200e112dae6bcf99f5bae1a5629288378a06
Darren Tucker [Wed, 27 Jan 2021 01:34:07 +0000 (12:34 +1100)]
Install moduli file before tests.
Reduces warnings during test runs.
Darren Tucker [Wed, 27 Jan 2021 00:58:26 +0000 (11:58 +1100)]
Run one test with -Werror to catch warnings.