From: Jamis Buck Date: 2004-07-06T10:53:23+09:00 Subject: Re: [ANN] Net::SSH 0.0.2 Kent Sibilev wrote: > Jemis, > > Do I need to use your patched version of OpenSSL module with the latest > snapshot of Ruby 1.9? > > Cheers, > Kent. Good question. I'm not familiar with the work being done on 1.9, so I have no idea if the patch I submitted made it to 1.9. It may have. I know it made it into 1.8.2. There's an easy way to find out: ruby -ropenssl -e "p OpenSSL::PKey::DH.instance_methods.include?('p=')" If this prints 'true', then you're good to go. Otherwise, you're out of luck. :( Let me know what you find out. -- Jamis Buck jgb3@email.byu.edu http://www.jamisbuck.org/jamis ruby -ropenssl -e'k="01234567";p((c,c.padding,c.iv,c.key=OpenSSL::Cipher::BF.new,false,k,k*2)[0].decrypt.update("1A81803C452C324619D319F980D5B84DBB45FC0FE2BAA045".scan(/../).map{|n|n.to_i(16).chr}.join))'