Package: libopenssl-ruby1.8
Version: 1.8.6.114-2
Severity: normal
I tried to connect to gtalk using xmpp4r,but failed,I tried to track
down the problem,later found that it may be caused by this ruby libray.
a simple test code to verify:
----------------
require 'openssl'
require 'socket'
socket = TCPSocket.new("talk.google.com", 5223)
ctx = OpenSSL::SSL::SSLContext.new('TLSv1')
sslsocket = OpenSSL::SSL::SSLSocket.new(socket, ctx)
begin
puts "Start connect"
sslsocket.connect
rescue OpenSSL::SSL::SSLError => ssle
puts "------------------#{ssle.message}---------------"
end
puts "finished"
-----------------
It failed,but gave no reason,because ssle.message was empty.
same code runs fine on a lenny machine.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libopenssl-ruby1.8 depends on:
ii libc6 2.7-11 GNU C Library: Shared libraries
ii libruby1.8 1.8.6.114-2 Libraries necessary to run Ruby 1.
ii libssl0.9.8 0.9.8g-10.1 SSL shared libraries
libopenssl-ruby1.8 recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]