Mercurial > hg > nginx-tests
comparison ssl_sni_sessions.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 | 882267679006 |
children | 3d312b6a1a19 |
comparison
equal
deleted
inserted
replaced
1115:54e07593713a | 1116:8ef51dbb5d69 |
---|---|
106 | 106 |
107 $t->plan(6); | 107 $t->plan(6); |
108 | 108 |
109 $t->write_file('openssl.conf', <<EOF); | 109 $t->write_file('openssl.conf', <<EOF); |
110 [ req ] | 110 [ req ] |
111 default_bits = 2048 | 111 default_bits = 1024 |
112 encrypt_key = no | 112 encrypt_key = no |
113 distinguished_name = req_distinguished_name | 113 distinguished_name = req_distinguished_name |
114 [ req_distinguished_name ] | 114 [ req_distinguished_name ] |
115 EOF | 115 EOF |
116 | 116 |