This uses CBC instead because CTR is not supported by the older
version of openssl.  In addition, we don't need a secure encription,
so this patch uses a faster 128 bit mode.

Signed-off-by: MORITA Kazutaka <[email protected]>
---
 tests/common.rc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/common.rc b/tests/common.rc
index 6150090..243460f 100644
--- a/tests/common.rc
+++ b/tests/common.rc
@@ -401,7 +401,7 @@ _cleanup_devices()
 
 _random()
 {
-       openssl enc -aes-256-ctr -pass pass:"$(date)" -nosalt < /dev/zero 
2>/dev/null
+       openssl enc -aes-128-cbc -pass pass:"$(date)" -nosalt < /dev/zero 
2>/dev/null
 }
 
 # make sure this script returns success
-- 
1.8.1.3.566.gaa39828

-- 
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to