Mercurial > hg > nginx-tests
comparison mail_ssl.t @ 1324:918bf90466e0
Tests: hide startup warnings about deprecated ssl.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 08 May 2018 13:59:22 +0300 |
parents | 0af58b78df35 |
children | dbce8fb5f5f8 |
comparison
equal
deleted
inserted
replaced
1323:6eb3dd2d4d5a | 1324:918bf90466e0 |
---|---|
159 or die "Can't create certificate for $name: $!\n"; | 159 or die "Can't create certificate for $name: $!\n"; |
160 } | 160 } |
161 | 161 |
162 my $ctx = Net::SSLeay::CTX_new() or die("Failed to create SSL_CTX $!"); | 162 my $ctx = Net::SSLeay::CTX_new() or die("Failed to create SSL_CTX $!"); |
163 $t->write_file('password', 'localhost'); | 163 $t->write_file('password', 'localhost'); |
164 | |
165 open OLDERR, ">&", \*STDERR; close STDERR; | |
164 $t->run(); | 166 $t->run(); |
167 open STDERR, ">&", \*OLDERR; | |
165 | 168 |
166 ############################################################################### | 169 ############################################################################### |
167 | 170 |
168 # simple tests to ensure that nothing broke with ssl_password_file directive | 171 # simple tests to ensure that nothing broke with ssl_password_file directive |
169 | 172 |