Hi Emmanuel,

Am 12.04.2018 um 07:59 schrieb Emmanuel Bourg:
Le 12/04/2018 à 07:08, Rainer Jung a écrit :

These errors are strange and not expected. With which version of
tcnative was this tested, and which version of OpenSSL does that
tcnative use?

That was tcnative 1.2.16 with OpenSSL 1.1.0h

thanks for the info and sorry for coming back to this so late.

I could not reproduce the problem with these versions. Are you aware of any special build flags which were used for your OpenSSL 1.1.0h? Concentrating on the second test failure:

> Testcase: testOpenSSLConfCmdProtocol took 0.008 sec
>          FAILED
> Protocol TLSv1 is not allowed
> junit.framework.AssertionFailedError: Protocol TLSv1 is not allowed
> at org.apache.tomcat.util.net.openssl.TestOpenSSLConf.testOpenSSLConfCmdProtocol(TestOpenSSLConf.java:105)
> ...


I really do not understand How TLSv1 could be enabled if OpenSSLConf works at all. Are there any errors in the logs?

You could also run the test with log level for package org.apache.tomcat.util.net.openssl increased to debug.

You might already know, but a convenient way of running a single test is by configuring in build.properties:

test.name=**/TestOpenSSLConf.java

Thanks and regards,

Rainer

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

Reply via email to