sergot / openssl

OpenSSL bindings for Perl 6
MIT License
14 stars 31 forks source link

Fix on OS X #18

Closed stmuk closed 8 years ago

stmuk commented 8 years ago

OS X ships with OpenSSL 0.9.8 which doesn't support TLSv1.2 and this module fails to install as a result.

Fix is testing for TLSv1.2 support before using it for the "default" case and falling back to TLSv1.0 if it's not supported.

sergot commented 8 years ago

Looks great, but I'm trying to fix travis building, we can merge it anyway tho. :)