tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igal Sapir <isa...@apache.org>
Subject Re: SSL Unit Tests Failing
Date Fri, 05 Oct 2018 18:22:40 GMT
On 10/4/2018 11:34 PM, Rainer Jung wrote:
> 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.

Got it, thanks!

Igal

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message