upstream: more typos spotted by Karsten Weiss using codespell

OpenBSD-Regress-ID: d906a2aea0663810a658b7d0bc61a1d2907d4d69
This commit is contained in:
djm@openbsd.org 2018-04-10 00:14:10 +00:00 committed by Damien Miller
parent 37e5f4a7ab
commit 907da2f885
2 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: cert-file.sh,v 1.6 2017/04/30 23:34:55 djm Exp $ # $OpenBSD: cert-file.sh,v 1.7 2018/04/10 00:14:10 djm Exp $
# Placed in the Public Domain. # Placed in the Public Domain.
tid="ssh with certificates" tid="ssh with certificates"
@ -52,7 +52,7 @@ echo "cert-authority $(cat $OBJ/user_ca_key1.pub)" > $OBJ/authorized_keys_$USER
cat $OBJ/ssh_proxy | grep -v IdentityFile > $OBJ/no_identity_config cat $OBJ/ssh_proxy | grep -v IdentityFile > $OBJ/no_identity_config
# XXX: verify that certificate used was what we expect. Needs exposure of # XXX: verify that certificate used was what we expect. Needs exposure of
# keys via enviornment variable or similar. # keys via environment variable or similar.
# Key with no .pub should work - finding the equivalent *-cert.pub. # Key with no .pub should work - finding the equivalent *-cert.pub.
verbose "identity cert with no plain public file" verbose "identity cert with no plain public file"
@ -138,7 +138,7 @@ fi
# try ssh with the agent and certificates # try ssh with the agent and certificates
opts="-F $OBJ/ssh_proxy" opts="-F $OBJ/ssh_proxy"
# with no certificates, shoud fail # with no certificates, should fail
${SSH} $opts somehost exit 52 ${SSH} $opts somehost exit 52
if [ $? -eq 52 ]; then if [ $? -eq 52 ]; then
fail "ssh connect with agent in succeeded with no cert" fail "ssh connect with agent in succeeded with no cert"

View File

@ -1,4 +1,4 @@
# $OpenBSD: rekey.sh,v 1.17 2016/01/29 05:18:15 dtucker Exp $ # $OpenBSD: rekey.sh,v 1.18 2018/04/10 00:14:10 djm Exp $
# Placed in the Public Domain. # Placed in the Public Domain.
tid="rekey" tid="rekey"
@ -30,7 +30,7 @@ ssh_data_rekeying()
n=`expr $n - 1` n=`expr $n - 1`
trace "$n rekeying(s)" trace "$n rekeying(s)"
if [ $n -lt 1 ]; then if [ $n -lt 1 ]; then
fail "no rekeying occured ($@)" fail "no rekeying occurred ($@)"
fi fi
} }
@ -80,7 +80,7 @@ for s in 5 10; do
n=`expr $n - 1` n=`expr $n - 1`
trace "$n rekeying(s)" trace "$n rekeying(s)"
if [ $n -lt 1 ]; then if [ $n -lt 1 ]; then
fail "no rekeying occured" fail "no rekeying occurred"
fi fi
done done
@ -96,7 +96,7 @@ for s in 5 10; do
n=`expr $n - 1` n=`expr $n - 1`
trace "$n rekeying(s)" trace "$n rekeying(s)"
if [ $n -lt 1 ]; then if [ $n -lt 1 ]; then
fail "no rekeying occured" fail "no rekeying occurred"
fi fi
done done
@ -115,7 +115,7 @@ for s in 16 1k 128k 256k; do
n=`expr $n - 1` n=`expr $n - 1`
trace "$n rekeying(s)" trace "$n rekeying(s)"
if [ $n -lt 1 ]; then if [ $n -lt 1 ]; then
fail "no rekeying occured" fail "no rekeying occurred"
fi fi
done done
@ -132,7 +132,7 @@ for s in 5 10; do
n=`expr $n - 1` n=`expr $n - 1`
trace "$n rekeying(s)" trace "$n rekeying(s)"
if [ $n -lt 1 ]; then if [ $n -lt 1 ]; then
fail "no rekeying occured" fail "no rekeying occurred"
fi fi
done done