Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

OpenSSL::Digest::SHA256 fails with thin when thin loaded before openssl

#91

When thin is loaded before openssl then OpenSSL::Digest::SHA256 won't work.

How to reproduce

require 'rubygems'
require 'thin'
require 'openssl'
p OpenSSL::Digest::SHA256.digest("hello wolrd") # will fail

Workaround

Load openssl before thin (e.g. bin/thin)

require 'rubygems'
require 'openssl'
require 'thin'
p OpenSSL::Digest::SHA256.digest("hello wolrd") # SUCCESS!

Any thoughts?
I could provide some straces if needed

Kind regards
Peter

Reported by Peter Suschlik · December 23rd, 2008 @ 09:17 AM

State: invalid
Milestone: Future
Assigned to: macournoyer macournoyer

Activity

  1. macournoyer
    macournoyer

    Hey Peter,

    Can you provide more info about the failure, eg.: backtrace, error message, etc..

    December 23rd, 2008 @ 10:24 AM

  2. macournoyer
    macournoyer
    • State changed from new to invalid

    March 16th, 2009 @ 08:56 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.