Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 94997181CF for ; Mon, 2 Nov 2015 17:26:41 +0000 (UTC) Received: (qmail 67549 invoked by uid 500); 2 Nov 2015 17:26:41 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 67467 invoked by uid 500); 2 Nov 2015 17:26:41 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 67456 invoked by uid 99); 2 Nov 2015 17:26:40 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Nov 2015 17:26:40 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 733DFC0FFA for ; Mon, 2 Nov 2015 17:26:40 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.013 X-Spam-Level: X-Spam-Status: No, score=-0.013 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.008, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 2glJ35CXyD6C for ; Mon, 2 Nov 2015 17:26:32 +0000 (UTC) Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 9994D2162B for ; Mon, 2 Nov 2015 17:26:31 +0000 (UTC) Received: by wmeg8 with SMTP id g8so9201342wme.1 for ; Mon, 02 Nov 2015 09:26:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:references:to:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=ApRqovWXXSGCX/0SNMJOLmvZvkw9W71OVZfg7O8w8Js=; b=scGdtw62IqUTrN6cMK8ADQwW7xfSSeFue5cxsjrupQmtN6qKeM957xyJqAXhR0zHFi zefPB3Fmu7lLj85RSfW+p0IdTs6KsZ/6UvsT5ITuh7o6pQJglBJy6URW6OEn22E39XAg jN/kLDikX9c6HoXiWMspV7A5tlEck0w0mLIwhSkYuexAXk05c9RIpO2ppOl9iuionfEl phvbEH5tX0mEOF7eyKLZC91pBqNjTs6Grn5bbQX0LFk+ouIaF9kUykByhpFwklA/A0kZ deZ664iVV68op8esrNGgbpBTf6KA3chDHvvXBKP0q52l8ve6LtgZ6f8ix8Glk6qH5IvZ sPtw== X-Received: by 10.28.18.11 with SMTP id 11mr14238319wms.68.1446485185376; Mon, 02 Nov 2015 09:26:25 -0800 (PST) Received: from ?IPv6:2a01:e35:2f71:31d0:ac0c:4d9a:2ee:87a9? ([2a01:e35:2f71:31d0:ac0c:4d9a:2ee:87a9]) by smtp.gmail.com with ESMTPSA id jh4sm23358002wjb.33.2015.11.02.09.26.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Nov 2015 09:26:24 -0800 (PST) Sender: Emmanuel Bourg Subject: Re: svn commit: r10986 - in /dev/tomcat/tomcat-connectors/native/1.2.1: ./ source/ References: <20151102151018.8CFE63A0418@svn01-us-west.apache.org> <56377F2D.1070807@apache.org> <5637926A.6000706@kippdata.de> <56379937.7060006@apache.org> To: Tomcat Developers List From: Emmanuel Bourg X-Enigmail-Draft-Status: N1110 Message-ID: <56379CC0.80805@apache.org> Date: Mon, 2 Nov 2015 18:26:24 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <56379937.7060006@apache.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Le 02/11/2015 18:11, Emmanuel Bourg a écrit : > src/ssl.c: In function 'Java_org_apache_tomcat_jni_SSL_setVerify': > src/ssl.c:1557:16: error: 'ctx' undeclared (first use in this function) > TCN_ASSERT(ctx != 0); I applied this patch to fix the error, is this correct? --- a/native/src/ssl.c +++ b/native/src/ssl.c @@ -1554,7 +1554,7 @@ verify = SSL_VERIFY_NONE; UNREFERENCED(o); - TCN_ASSERT(ctx != 0); + TCN_ASSERT(c->ctx != 0); c->verify_mode = level; if (c->verify_mode == SSL_CVERIFY_UNSET) Emmanuel Bourg --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org