Skip to content

extconf.rb: Fix SSL versions constant names#333

Merged
taf2 merged 2 commits intotaf2:masterfrom
elthariel:fix/tls_constants
Jan 3, 2018
Merged

extconf.rb: Fix SSL versions constant names#333
taf2 merged 2 commits intotaf2:masterfrom
elthariel:fix/tls_constants

Conversation

@elthariel
Copy link
Copy Markdown
Contributor

The have_constant method puts the whole constant name to upcase, but the various ssl versions constants aren't fully upcase, so they're never found. This patch updates those constants to use a symbol with the right case.

This PR also updates the README to reflect the need to run rake compile before rake install to have the makefile generated.

Sadly, the PR also includes a few spacing changes I was too lazy to remove, tell me if this is a problem.

Cheers,
Lta.

Signed-off-by: Julien 'Lta' BALLET contact@lta.io

Signed-off-by: Julien 'Lta' BALLET <contact@lta.io>
Signed-off-by: Julien 'Lta' BALLET <contact@lta.io>
@elthariel
Copy link
Copy Markdown
Contributor Author

Ping @taf2 :)

@taf2 taf2 merged commit 5b61dda into taf2:master Jan 3, 2018
@roscopeco
Copy link
Copy Markdown
Collaborator

Your diff is a fucking carcrash, but your changes are good. In future please exclude your spacing issues because they make my brain hurt. Ty, Ross.

@elthariel
Copy link
Copy Markdown
Contributor Author

I'm sure there was a nicer way to say this :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants