Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 98665 invoked from network); 20 Aug 2010 17:26:31 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 Aug 2010 17:26:31 -0000 Received: (qmail 6803 invoked by uid 500); 20 Aug 2010 17:26:31 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 6752 invoked by uid 500); 20 Aug 2010 17:26:30 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 6743 invoked by uid 99); 20 Aug 2010 17:26:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Aug 2010 17:26:30 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of catherine.v.hope@googlemail.com designates 209.85.215.177 as permitted sender) Received: from [209.85.215.177] (HELO mail-ey0-f177.google.com) (209.85.215.177) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Aug 2010 17:26:25 +0000 Received: by eye22 with SMTP id 22so2587906eye.36 for ; Fri, 20 Aug 2010 10:26:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=lGmJeEfwF7mtLHd9Sq4m+WzlSQ/XBWHCJz+PXrvwfog=; b=euzWOuNu92wVMeO+Y0y87iO07wvnpU2zGqDtXzyC4y0ZmKJTokUd40NiZROxJYpNmA e364/OfL8dd5NFlvLvp+81qiEurrZ6WX5MXB2FpRAz/Ob3l0PMQ6dPQZWUtpUJRinDMM 8ryJj2Cdm6Hr/UfovKW6eNd1gnNAThE86YWSc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Wnj4fABlFB/I0tykQcEQlNewgAjgJvl9LDFqFjEmfYKz0OgelR053CbxhSt9+EMMew 53CvQ1kz/B0LedQ39nnGambZcWuq7/mQSXCdNVy/yC9TDyQWpLmrrsaHGg8XWXjDDEDq vqW1DIn6Efxl3iNHT3lCa4zOyjlzSeHiJecy4= MIME-Version: 1.0 Received: by 10.216.132.166 with SMTP id o38mr1545293wei.16.1282325163571; Fri, 20 Aug 2010 10:26:03 -0700 (PDT) Received: by 10.216.171.2 with HTTP; Fri, 20 Aug 2010 10:26:03 -0700 (PDT) In-Reply-To: <4C6E5507.7050106@googlemail.com> References: <4C447A1D.80702@googlemail.com> <4C569924.6000302@googlemail.com> <4C693368.6070205@googlemail.com> <4C6CE446.3040908@googlemail.com> <55089.91.183.51.65.1282250414.squirrel@k-embedded-java.com> <4C6E5507.7050106@googlemail.com> Date: Fri, 20 Aug 2010 18:26:03 +0100 Message-ID: Subject: Re: [classlib][x-net] Creating a provider based on OpenSSL From: Catherine Hope To: dev@harmony.apache.org Content-Type: multipart/alternative; boundary=0016e6dede3ddc7a3b048e4497f4 --0016e6dede3ddc7a3b048e4497f4 Content-Type: text/plain; charset=ISO-8859-1 I've been working on SSLSocketInputStream, which currently reads bytes one at a time. I've attached a patch to https://issues.apache.org/jira/browse/HARMONY-6627 with an implementation of the read methods using OpenSSL calls and replaced the available call to use ioctl. Currently when I run the x-net tests I have 2 failures and 11 errors. With my fix the org.apache.harmony.xnet.provider.jsse.SSLSocketFunctionalTest gets a bit further - it's currently failing with a javax.net.ssl.SSLHandshakeException: no shared cipher I've encountered some problems using the keytool to get some examples to work - these are raised under https://issues.apache.org/jira/browse/HARMONY-6631 with a fix. --0016e6dede3ddc7a3b048e4497f4--