[MacRuby] #530: Net::SSH doesn't work with MacRuby
MacRuby
ruby-noreply at macosforge.org
Sun Jan 1 06:03:17 PST 2012
#530: Net::SSH doesn't work with MacRuby
---------------------------------+------------------------------------------
Reporter: sk8tr1981@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: critical | Milestone: MacRuby 1.0
Component: MacRuby | Keywords:
---------------------------------+------------------------------------------
Comment(by watson1978@…):
It seems that string encoding does not match in following point at
least.[[BR]]
https://github.com/net-ssh/net-
ssh/blob/master/lib/net/ssh/transport/state.rb#L86
{{{
diff --git a/lib/net/ssh/transport/state.rb
b/lib/net/ssh/transport/state.rb
index 2d8a3dd..5948483 100644
--- a/lib/net/ssh/transport/state.rb
+++ b/lib/net/ssh/transport/state.rb
@@ -83,7 +83,7 @@ module Net; module SSH; module Transport
def final_cipher
result = cipher.final
- update_next_iv(role == :client ? result : "", true)
+ update_next_iv(role == :client ? result :
"".force_encoding('BINARY'), true)
return result
end
}}}
I guess that this issue depend on #742.
--
Ticket URL: <http://www.macruby.org/trac/ticket/530#comment:17>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list