Mercurial > hg > nginx-tests
diff mail_imap_ssl.t @ 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 | b70df6924290 |
children | 55ca38e1a3d9 |
line wrap: on
line diff
--- a/mail_imap_ssl.t +++ b/mail_imap_ssl.t @@ -142,9 +142,9 @@ foreach my $name ('1.example.com', '2.ex 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