Skip to content

Hacky fix to a bug caused by newer versions of the ruby openssl extenension#9

Open
bytecaster wants to merge 1 commit into
onelogin:masterfrom
bytecaster:master
Open

Hacky fix to a bug caused by newer versions of the ruby openssl extenension#9
bytecaster wants to merge 1 commit into
onelogin:masterfrom
bytecaster:master

Conversation

@bytecaster
Copy link
Copy Markdown

Hacky fix to a bug caused by newer versions of the ruby openssl extenension using TypedData instead of Data for the OpenSSL Cipher object making extension of said class difficult
See #8

…sion using TypedData

instead of Data for the OpenSSL Cipher object making extension of said class difficult
See onelogin#8
@jtdowney
Copy link
Copy Markdown

jtdowney commented Mar 2, 2016

This is pretty much exactly what I did (with respect to my comment on #8). The main danger I see with this, is it leaves the gem open to similar issues with future versions of ruby. However, it works with the versions of Ruby I've tried and doesn't suddenly break between 2.1 and 2.2 like the current code does.

I'm 👍 on merging, but I have no say here 😄

@bytecaster
Copy link
Copy Markdown
Author

Thanks for looking the change over, jtdowney.
Yeah, sadly it is a rather hacky fix and rather fragile at that, but thats what the long comment is for ^^.

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.

2 participants