kgio RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Eric Wong <normalperson@yhbt.net>
To: kgio@librelist.org
Subject: [PATCH (kgio-monkey)] force SSLv3 for session cache tests
Date: Fri, 27 Apr 2012 04:36:38 +0000	[thread overview]
Message-ID: <20120427043638.GA6697@dcvr.yhbt.net> (raw)
In-Reply-To: <20120427043638.GA6697@dcvr.yhbt.net>

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


           reply	other threads:[~2012-04-27  4:37 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20120427043638.GA6697@dcvr.yhbt.net>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://yhbt.net/kgio/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120427043638.GA6697@dcvr.yhbt.net \
    --to=normalperson@yhbt.net \
    --cc=kgio@librelist.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).