Mercurial > hg > nginx-tests
comparison stream_ssl_preread.t @ 1116:8ef51dbb5d69
Tests: reduced OpenSSL default key length to 1024.
This allows to speed up ssl tests up to two times and above.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 20 Jan 2017 18:55:03 +0300 |
parents | dd3031bbc705 |
children | 6c27d5cab1d7 |
comparison
equal
deleted
inserted
replaced
1115:54e07593713a | 1116:8ef51dbb5d69 |
---|---|
126 | 126 |
127 $t->plan(11); | 127 $t->plan(11); |
128 | 128 |
129 $t->write_file('openssl.conf', <<EOF); | 129 $t->write_file('openssl.conf', <<EOF); |
130 [ req ] | 130 [ req ] |
131 default_bits = 2048 | 131 default_bits = 1024 |
132 encrypt_key = no | 132 encrypt_key = no |
133 distinguished_name = req_distinguished_name | 133 distinguished_name = req_distinguished_name |
134 [ req_distinguished_name ] | 134 [ req_distinguished_name ] |
135 EOF | 135 EOF |
136 | 136 |