diff stream_ssl.t @ 1140:778eae8230e4

Tests: reduced OpenSSL default key length to 1024. This allows to speed up ssl tests.
author Andrey Zelenkov <zelenkov@nginx.com>
date Wed, 01 Mar 2017 19:15:39 +0300
parents 8ef51dbb5d69
children d4e779356d8d
line wrap: on
line diff
--- a/stream_ssl.t
+++ b/stream_ssl.t
@@ -101,7 +101,7 @@ mkfifo("$d/password_fifo", 0700);
 
 foreach my $name ('localhost', 'inherits') {
 	system("openssl genrsa -out '$d/$name.key' -passout pass:$name "
-		. "-aes128 2048 >>$d/openssl.out 2>&1") == 0
+		. "-aes128 1024 >>$d/openssl.out 2>&1") == 0
 		or die "Can't create private key: $!\n";
 	system('openssl req -x509 -new '
 		. "-config '$d/openssl.conf' -subj '/CN=$name/' "