librelist archives

« back to archive

[PATCH (kgio-monkey)] force SSLv3 for session cache tests

[PATCH (kgio-monkey)] force SSLv3 for session cache tests

Eric Wong
2012-04-27 @ 04:36
TLS 1.2 seems to enforce caching, or I'm doing something
 I've pushed this out to master on git://

 Does knowledge of TLS 1.2 care to give us a short version of
 what's going on?  I was testing with OpenSSL 1.0.1a.

 I've never considered kgio-monkey a serious project and there's
 no warranty, so if you're leaking information or SWAT knocking
 is knocking down your door...

 test/external_session_cache.rb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/external_session_cache.rb b/test/external_session_cache.rb
index d995311..2fcd915 100644
--- a/test/external_session_cache.rb
+++ b/test/external_session_cache.rb
@@ -16,7 +16,7 @@ module TestExternalSessionCache
   def run_openssl(args = nil)
     orig_err = $stderr.dup
     $stderr.reopen(tmp ="tmperr"))
-    cmd = "openssl s_client -connect #@host:#@port -CAfile ca.crt -reconnect"
+    cmd = "openssl s_client -ssl3 -connect #@host:#@port -CAfile ca.crt 
     cmd << " #{args.join(' ')}" if args
     o = begin