]> andersk Git - gssapi-openssh.git/blame - openssh/regress/putty-kex.sh
Import of OpenSSH 5.2p1
[gssapi-openssh.git] / openssh / regress / putty-kex.sh
CommitLineData
22616013 1# $OpenBSD: putty-kex.sh,v 1.2 2008/06/30 10:31:11 djm Exp $
47686178 2# Placed in the Public Domain.
3
4tid="putty KEX"
5
6DATA=/bin/ls
7COPY=${OBJ}/copy
8
47686178 9if test "x$REGRESS_INTEROP_PUTTY" != "xyes" ; then
91d9cdd3 10 echo "putty interop tests not enabled"
11 exit 0
47686178 12fi
13
14for k in dh-gex-sha1 dh-group1-sha1 dh-group14-sha1 ; do
15 verbose "$tid: kex $k"
16 cp ${OBJ}/.putty/sessions/localhost_proxy \
17 ${OBJ}/.putty/sessions/kex_$k
18 echo "KEX=$k" >> ${OBJ}/.putty/sessions/kex_$k
19
20 env HOME=$PWD ${PLINK} -load kex_$k -batch -i putty.rsa2 \
21 127.0.0.1 true
22 if [ $? -ne 0 ]; then
23 fail "KEX $k failed"
24 fi
25done
26
This page took 1.955923 seconds and 5 git commands to generate.