aboutsummaryrefslogtreecommitdiff
path: root/regress/rekey.sh
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2016-03-10 20:10:25 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2016-03-10 20:10:25 +0000
commitff4b04e0d6105849f2b141c035ecd92a4ebc6d97 (patch)
tree3d2e6235900570f05cfbdbc81f01095fa38bd1e7 /regress/rekey.sh
parent4cb2962809c63c51f6f7e029b95f2bdb622f1e4a (diff)
Vendor import of OpenSSH 7.2p1.vendor/openssh/7.2p1
Notes
Notes: svn path=/vendor-crypto/openssh/dist/; revision=296619 svn path=/vendor-crypto/openssh/7.2p1/; revision=296620; tag=vendor/openssh/7.2p1
Diffstat (limited to 'regress/rekey.sh')
-rw-r--r--regress/rekey.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/regress/rekey.sh b/regress/rekey.sh
index 0d4444d03fed..ae145bc8b92e 100644
--- a/regress/rekey.sh
+++ b/regress/rekey.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: rekey.sh,v 1.16 2015/02/14 12:43:16 markus Exp $
+# $OpenBSD: rekey.sh,v 1.17 2016/01/29 05:18:15 dtucker Exp $
# Placed in the Public Domain.
tid="rekey"
@@ -137,13 +137,15 @@ for s in 5 10; do
done
verbose "rekeylimit parsing"
-for size in 16 1k 1K 1m 1M 1g 1G; do
+for size in 16 1k 1K 1m 1M 1g 1G 4G 8G; do
for time in 1 1m 1M 1h 1H 1d 1D 1w 1W; do
case $size in
16) bytes=16 ;;
1k|1K) bytes=1024 ;;
1m|1M) bytes=1048576 ;;
1g|1G) bytes=1073741824 ;;
+ 4g|4G) bytes=4294967296 ;;
+ 8g|8G) bytes=8589934592 ;;
esac
case $time in
1) seconds=1 ;;