sergot / openssl

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

Fix SSL_ctrl on Windows #64

Closed voegelas closed 6 years ago

voegelas commented 6 years ago

OpenSSL.set-server-name() and the test "15-issue-36.t" fail on Windows as the type "long" is 32-bit on that platform. This fix replaces "int64" by "long" in the signature of SSL_ctrl().

Note: I had to change "appveyor.yml" as follows in my repository in order to get a stable Rakudo release that is able to run the tests.

     - appveyor-retry git clone https://github.com/rakudo/rakudo.git %APPVEYOR_BUILD_FOLDER%\..\rakudo
     - cd %APPVEYOR_BUILD_FOLDER%\..\rakudo
+    - git checkout 2018.06