-
-
Save anonymous/b9cdf417bdb6c00f039f89d5f5cf9617 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/t/mojo/user_agent_tls.t b/t/mojo/user_agent_tls.t | |
index d18e1af..6a29f7a 100644 | |
--- a/t/mojo/user_agent_tls.t | |
+++ b/t/mojo/user_agent_tls.t | |
@@ -93,7 +93,6 @@ $port = Mojo::IOLoop->acceptor($daemon->acceptors->[0])->port; | |
# Invalid certificate | |
$ua = Mojo::UserAgent->new(ioloop => $ua->ioloop); | |
$ua->cert('t/mojo/certs/bad.crt')->key('t/mojo/certs/bad.key'); | |
-IO::Socket::SSL::set_defaults(SSL_version => 'TLSv1'); | |
$tx = $ua->get("https://127.0.0.1:$port"); | |
ok $tx->success, 'successful'; | |
ok !$tx->error, 'no error'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment