Use OpenSSL::Digest instead of deprecated OpenSSL::Digest::Digest #124

Merged
merged 1 commit into from Jul 12, 2014

Conversation

Projects
None yet
3 participants
Contributor

bob-p commented Jul 4, 2014

OpenSSL::Digest::Digest has been discouraged to use since Ruby 1.8 https://github.com/ruby/ruby/blob/ruby_1_8_7/ext/openssl/lib/openssl/digest.rb#L51
and was deprecated recently. ruby/ruby#446

This removes the deprecation warning shown in ruby 2.1 and above.

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at cla@fb.com. Thanks!

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

heatonjb added a commit that referenced this pull request Jul 12, 2014

Merge pull request #124 from bob-p/fix-openssl-deprecation
Use OpenSSL::Digest instead of deprecated OpenSSL::Digest::Digest

@heatonjb heatonjb merged commit a29c548 into facebookarchive:master Jul 12, 2014

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