Mercurial > hg > nginx-tests
changeset 753:63d1b7cb974a
Tests: fixed IO::Socket::SSL options in mail_imap_ssl.t.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 27 Oct 2015 18:26:22 +0300 |
parents | 80e17d44088c |
children | 84a52b6d6343 |
files | mail_imap_ssl.t |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mail_imap_ssl.t Fri Oct 23 23:25:03 2015 +0300 +++ b/mail_imap_ssl.t Tue Oct 27 18:26:22 2015 +0300 @@ -142,9 +142,9 @@ my $cred = encode_base64("\0test\@example.com\0secret", ''); my %ssl = ( - 'SSL' => 1, - 'SSL_verify_mode' => 'IO::Socket::SSL::SSL_VERIFY_NONE()', - 'SSL_error_trap' => 'sub { die $_[1] }', + SSL => 1, + SSL_verify_mode => IO::Socket::SSL::SSL_VERIFY_NONE(), + SSL_error_trap => sub { die $_[1] }, ); # no ssl connection