Skip to content

Commit

Permalink
updated example for IO::Socket::SSL 1.81
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Dec 6, 2012
1 parent 875e65c commit bbb5fab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojo/UserAgent.pm
Expand Up @@ -663,7 +663,7 @@ Path to TLS certificate authority file, defaults to the value of the
C<MOJO_CA_FILE> environment variable. Also activates hostname verification.
# Show certificate authorities for debugging
IO::Socket::SSL::set_ctx_defaults(
IO::Socket::SSL::set_defaults(
SSL_verify_callback => sub { say "Authority: $_[2]" and return $_[0] });
=head2 C<cert>
Expand Down

0 comments on commit bbb5fab

Please sign in to comment.