From dev-return-193825-archive-asf-public=cust-asf.ponee.io@tomcat.apache.org Fri Oct 5 08:34:21 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 330E5180649 for ; Fri, 5 Oct 2018 08:34:21 +0200 (CEST) Received: (qmail 54318 invoked by uid 500); 5 Oct 2018 06:34:20 -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 54306 invoked by uid 99); 5 Oct 2018 06:34:19 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Oct 2018 06:34:19 +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 8CD53C199E for ; Fri, 5 Oct 2018 06:34:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id NWRCqDkAhTwe for ; Fri, 5 Oct 2018 06:34:18 +0000 (UTC) Received: from mailserver.kippdata.de (mailserver.kippdata.de [212.79.170.253]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 85CE75F481 for ; Fri, 5 Oct 2018 06:34:17 +0000 (UTC) Received: from [10.0.110.6] ([192.168.2.104]) by mailserver.kippdata.de (8.13.5/8.13.5) with ESMTP id w956YA0q009331 for ; Fri, 5 Oct 2018 08:34:10 +0200 (CEST) Subject: Re: SSL Unit Tests Failing To: Tomcat Developers List References: <61cdb603-8d44-28f8-302a-daff2b186dd4@apache.org> <8e73c4f4-a5d0-2ebe-ca55-3b56dc17b9f3@apache.org> <192f2eab-3f61-beaa-b582-f1e96ca2ee8a@apache.org> <40fa6866-17cf-d65d-ee35-965f28ab3921@apache.org> From: Rainer Jung Message-ID: Date: Fri, 5 Oct 2018 08:34:09 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <40fa6866-17cf-d65d-ee35-965f28ab3921@apache.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 8bit Am 05.10.2018 um 00:03 schrieb Igal Sapir:> And with tcnative I get: > > 04-Oct-2018 14:52:14.231 INFO [main] > org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case > [testOpenSSLConfCmdCipher] > 04-Oct-2018 14:52:14.434 INFO [main] > org.apache.tomcat.util.net.openssl.TestOpenSSLConf.testOpenSSLConfCmdCipher > Found OpenSSL version 0x100020ff > > Which makes much more sense.  Is there a reason that the OpenSSL version > is printed in Hex? I haven't checked what other version data (eg. string based) is available for all supported versions, and would make more sense. Typically what we call OPENSSL_VERSION is used in the code for version dependent code. If that variable is the one we continue to use as info output, its hex representation is the closest to the string representation of the version: 0x100020ff = 1.0.2 + patch-Letter This is true for all major OpenSSL versions. Regards, Rainer --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org