Skip to content

Bug restrict window openssh10#150

Open
rapier1 wants to merge 4 commits intomasterfrom
bug-restrict-window-openssh10
Open

Bug restrict window openssh10#150
rapier1 wants to merge 4 commits intomasterfrom
bug-restrict-window-openssh10

Conversation

@rapier1
Copy link
Copy Markdown
Owner

@rapier1 rapier1 commented Mar 24, 2026

Updates compat.c to use a more flexible method to determine remote version and set the appropriate flags. Unrelated work is a minor change to Makefile.in to remove more files from regress when executing make clean.

rapier1 added 2 commits March 24, 2026 11:35
The old version uses a clunky set of strstrs to determine if the remote
was hpnssh and if they are using hpn-prefixed binaries. It was also
checking to see if it was openssh and had strict window checking. This
replaces both methods using sscanf() to get the version numbers which means
we shouldn't have to touch this section of code for future versions.
While not associated with the compat.c fixes this
removes some more files in /regress when cleaning.
@rapier1 rapier1 requested a review from dorrellmw March 24, 2026 16:14
@rapier1 rapier1 self-assigned this Mar 24, 2026
@rapier1 rapier1 added the bug label Mar 24, 2026
rapier1 added 2 commits March 24, 2026 12:17
OpenSSL 4 has removed the API for EVP_CIPHER_meth*. It was
deprecated in OpenSSL3 but it's gone now. Wrap the call around
an 'if !defined(WITH_OPENSSL3)' and it won't get triggered
except on OpenSSL 1.1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant