Skip to content

Commit ebcdb90

Browse files
committed
Working merge of OpenSSH 9.7 into HPN-SSH. This is tentatively
marked as HPN-SSH 18.4.0. Minimal changes were required. The only notable changes are in regression tests to deal with compatibility tests and what seems to be typo in the OpenSSH source Makefile for the regression tests. These changes are to resolve issues with compatibility tests and when building without openssl libraries.
1 parent 065e63d commit ebcdb90

File tree

7 files changed

+14
-34
lines changed

7 files changed

+14
-34
lines changed

hpnssh-add.1

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,25 +35,15 @@
3535
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
3636
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3737
.\"
38-
<<<<<<< HEAD:hpnssh-add.1
39-
.Dd $Mdocdate: December 18 2023 $
40-
.Dt HPNSSH-ADD 1
41-
=======
4238
.Dd $Mdocdate: December 19 2023 $
43-
.Dt SSH-ADD 1
44-
>>>>>>> V_9_7_P1:ssh-add.1
39+
.Dt HPNSSH-ADD 1
4540
.Os
4641
.Sh NAME
4742
.Nm hpnssh-add
4843
.Nd adds private key identities to the OpenSSH authentication agent
4944
.Sh SYNOPSIS
50-
<<<<<<< HEAD:hpnssh-add.1
5145
.Nm hpnssh-add
52-
.Op Fl cCDdKkLlqvXx
53-
=======
54-
.Nm ssh-add
5546
.Op Fl CcDdKkLlqvXx
56-
>>>>>>> V_9_7_P1:ssh-add.1
5747
.Op Fl E Ar fingerprint_hash
5848
.Op Fl H Ar hostkey_file
5949
.Op Fl h Ar destination_constraint

hpnssh_config.5

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,9 @@
3333
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
3434
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3535
.\"
36-
<<<<<<< HEAD:hpnssh_config.5
37-
.\" $OpenBSD: ssh_config.5,v 1.391 2023/10/12 02:18:18 djm Exp $
38-
.Dd $Mdocdate: October 12 2023 $
39-
.Dt HPNSSH_CONFIG 5
40-
=======
4136
.\" $OpenBSD: ssh_config.5,v 1.394 2024/02/21 06:01:13 djm Exp $
4237
.Dd $Mdocdate: February 21 2024 $
43-
.Dt SSH_CONFIG 5
44-
>>>>>>> V_9_7_P1:ssh_config.5
38+
.Dt HPNSSH_CONFIG 5
4539
.Os
4640
.Sh NAME
4741
.Nm hpnssh_config

hpnsshd_config.5

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,9 @@
3333
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
3434
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3535
.\"
36-
<<<<<<< HEAD:hpnsshd_config.5
37-
.\" $OpenBSD: sshd_config.5,v 1.350 2023/07/28 05:42:36 jmc Exp $
38-
.Dd $Mdocdate: July 28 2023 $
39-
.Dt HPNSSHD_CONFIG 5
40-
=======
4136
.\" $OpenBSD: sshd_config.5,v 1.355 2024/02/21 06:17:29 djm Exp $
4237
.Dd $Mdocdate: February 21 2024 $
43-
.Dt SSHD_CONFIG 5
44-
>>>>>>> V_9_7_P1:sshd_config.5
38+
.Dt HPNSSHD_CONFIG 5
4539
.Os
4640
.Sh NAME
4741
.Nm hpnsshd_config

regress/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,12 +208,12 @@ t7: $(OBJ)/t7.out
208208
fi
209209

210210
$(OBJ)/t8.out:
211-
set -xe ; if ssh -Q key | grep -q "^ssh-dss" ; then \
211+
set -xe ; if ${TEST_SSH_SSH} -Q key | grep -q "^ssh-dss" ; then \
212212
${TEST_SSH_SSHKEYGEN} -q -t dsa -N '' -f $@ ; \
213213
fi
214214

215215
t8: $(OBJ)/t8.out
216-
set -xe ; if ssh -Q key | grep -q "^ssh-dss" ; then \
216+
set -xe ; if ${TEST_SSH_SSH} -Q key | grep -q "^ssh-dss" ; then \
217217
${TEST_SSH_SSHKEYGEN} -lf $(OBJ)/t8.out > /dev/null ; \
218218
${TEST_SSH_SSHKEYGEN} -Bf $(OBJ)/t8.out > /dev/null ; \
219219
fi

regress/putty-ciphers.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ done
3131

3232
for c in default $ciphers; do
3333
for m in default ${macs}; do
34+
# none is a valid cipher in hpnssh but it
35+
# causes the tests to fail so skip it
36+
# cjr - 3/5/2024
37+
if [ "${m}" = "none" ]; then
38+
continue
39+
fi
3440
verbose "$tid: cipher $c mac $m"
3541
cp ${OBJ}/.putty/sessions/localhost_proxy \
3642
${OBJ}/.putty/sessions/cipher_$c

ssh-add.c

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -792,12 +792,8 @@ static void
792792
usage(void)
793793
{
794794
fprintf(stderr,
795-
<<<<<<< HEAD
796-
"usage: hpnssh-add [-cDdKkLlqvXx] [-E fingerprint_hash] [-H hostkey_file]\n"
797-
=======
798-
"usage: ssh-add [-CcDdKkLlqvXx] [-E fingerprint_hash] [-H hostkey_file]\n"
799-
>>>>>>> V_9_7_P1
800-
" [-h destination_constraint] [-S provider] [-t life]\n"
795+
"usage: hpnssh-add [-CcDdKkLlqvXx] [-E fingerprint_hash] [-H hostkey_file]\n"
796+
" [-h destination_constraint] [-S provider] [-t life]\n"
801797
#ifdef WITH_XMSS
802798
" [-M maxsign] [-m minleft]\n"
803799
#endif

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
#define SSH_VERSION "OpenSSH_9.7"
44

55
#define SSH_PORTABLE "p1"
6-
#define SSH_HPN "-hpn18.3.1"
6+
#define SSH_HPN "-hpn18.4.0"
77
#define SSH_RELEASE SSH_VERSION SSH_PORTABLE SSH_HPN

0 commit comments

Comments
 (0)