[MacRuby] #924: MacRuby throws an exception of "Unsupported digest algorithm (OpenSSL::Digest::MD5)."

MacRuby ruby-noreply at macosforge.org
Sun Oct 3 17:00:45 PDT 2010


#924: MacRuby throws an exception of "Unsupported digest algorithm
(OpenSSL::Digest::MD5)."
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  major                 |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------

Comment(by watson1978@…):

 I atach a pach:
 {{{
 #!diff

 diff --git a/ext/openssl/lib/openssl/digest.rb
 b/ext/openssl/lib/openssl/digest.rb
 index 1ee1faf..5dde221 100644
 --- a/ext/openssl/lib/openssl/digest.rb
 +++ b/ext/openssl/lib/openssl/digest.rb
 @@ -33,11 +33,11 @@ module OpenSSL
      class Stub < Digest
        class << self
          def digest(data)
 -          Digest.digest(name, data)
 +          Digest.digest(@name, data)
          end

          def hexdigest(data)
 -          Digest.hexdigest(name, data)
 +          Digest.hexdigest(@name, data)
          end
        end
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/924#comment:2>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list