Skip to content

Commit

Permalink
fix support for versions of IO::Socket::SSL older than 1.965 again
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Sep 12, 2017
1 parent 8a405d8 commit d1d8c0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Changes
@@ -1,5 +1,6 @@

7.46 2017-09-11
7.46 2017-09-12
- Fixed support for versions of IO::Socket::SSL older than 1.965 again.

7.45 2017-09-06
- Fixed support for versions of IO::Socket::SSL older than 1.965. (mudler,
Expand Down
4 changes: 2 additions & 2 deletions lib/Mojo/IOLoop/TLS.pm
Expand Up @@ -10,8 +10,8 @@ use constant TLS => $ENV{MOJO_NO_TLS}
? 0
: eval 'use IO::Socket::SSL 1.94 (); 1';
use constant DEFAULT => eval { IO::Socket::SSL->VERSION('1.965') }
? ''
: \undef;
? \undef
: '';
use constant READ => TLS ? IO::Socket::SSL::SSL_WANT_READ() : 0;
use constant WRITE => TLS ? IO::Socket::SSL::SSL_WANT_WRITE() : 0;

Expand Down

0 comments on commit d1d8c0d

Please sign in to comment.