From: Bill Kelly Date: 2006-01-02T20:08:39+09:00 Subject: Re: SSLSocket - where does the encryption happen? Hi Ilmari, From: "Ilmari Heikkinen" > On 1/2/06, Bill Kelly wrote: >> >> I'm looking at OpenSSL::SSL::SSLSocket (openssl/ssl.rb), and >> also the code in drb/ssl.rb and webrick/ssl.rb ... trying to >> understand where the actual encryption/decryption takes place. > > If I'm not terribly mistaken, all the actual work takes place in the C > extension. > http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ext/openssl/ossl_ssl.c > <- there's the SSLSocket functions at least Thanks much! I should have realized... After all, the ruby-side SSLSocket class has no initialize() class SSLSocket include Buffering include SocketForwarder end Thanks, Bill