kgio RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* [PATCH (kgio-monkey)] force SSLv3 for session cache tests
@ 2012-04-27  4:36 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2012-04-27  4:36 UTC (permalink / raw)
  To: kgio

TLS 1.2 seems to enforce caching, or I'm doing something
wrong...
---
 I've pushed this out to master on git://bogomips.org/kgio-monkey

 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 = Tempfile.new("tmperr"))
-    cmd = "openssl s_client -connect #@host:#@port -CAfile ca.crt -reconnect"
+    cmd = "openssl s_client -ssl3 -connect #@host:#@port -CAfile ca.crt -reconnect"
     cmd << " #{args.join(' ')}" if args
     o = begin
       `#{cmd}`
-- 
EW


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-04-27  4:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-27  4:36 [PATCH (kgio-monkey)] force SSLv3 for session cache tests Eric Wong

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/kgio.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).