diff options
author | Darren Tucker <dtucker@zip.com.au> | 2013-11-08 12:11:46 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2013-11-08 12:11:46 +1100 |
commit | 08998c5fb9c7c1d248caa73b76e02ca0482e6d85 (patch) | |
tree | 972c69b8dd8fe402e29f597a70422acf572bec59 /regress/rekey.sh | |
parent | 4bf7e50e533aa956366df7402c132f202e841a48 (diff) |
- dtucker@cvs.openbsd.org 2013/11/08 01:06:14
[regress/rekey.sh]
Rekey less frequently during tests to speed them up
Diffstat (limited to 'regress/rekey.sh')
-rw-r--r-- | regress/rekey.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/rekey.sh b/regress/rekey.sh index 7131a6f0a..6095da8d5 100644 --- a/regress/rekey.sh +++ b/regress/rekey.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: rekey.sh,v 1.11 2013/11/07 01:12:51 dtucker Exp $ | 1 | # $OpenBSD: rekey.sh,v 1.12 2013/11/08 01:06:14 dtucker Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="rekey" | 4 | tid="rekey" |
@@ -39,7 +39,7 @@ done | |||
39 | 39 | ||
40 | for opt in $opts; do | 40 | for opt in $opts; do |
41 | verbose "client rekey $opt" | 41 | verbose "client rekey $opt" |
42 | ssh_data_rekeying -oRekeyLimit=16 -o$opt | 42 | ssh_data_rekeying -oRekeyLimit=256k -o$opt |
43 | done | 43 | done |
44 | 44 | ||
45 | # GCM is magical so test with all KexAlgorithms | 45 | # GCM is magical so test with all KexAlgorithms |
@@ -47,7 +47,7 @@ if ${SSH} -Q cipher | grep gcm@openssh.com >/dev/null ; then | |||
47 | for c in `${SSH} -Q cipher | grep gcm@openssh.com`; do | 47 | for c in `${SSH} -Q cipher | grep gcm@openssh.com`; do |
48 | for kex in `${SSH} -Q kex`; do | 48 | for kex in `${SSH} -Q kex`; do |
49 | verbose "client rekey $c $kex" | 49 | verbose "client rekey $c $kex" |
50 | ssh_data_rekeying -oRekeyLimit=16 -oCiphers=$c -oKexAlgorithms=$kex | 50 | ssh_data_rekeying -oRekeyLimit=256k -oCiphers=$c -oKexAlgorithms=$kex |
51 | done | 51 | done |
52 | done | 52 | done |
53 | fi | 53 | fi |