wolfssl icon indicating copy to clipboard operation
wolfssl copied to clipboard

[Bug]: Enabling JNI configuration is causing test failures

Open 1div0 opened this issue 8 months ago • 2 comments

Contact Details

[email protected]

Version

5.8.0

Description

./configure --enable-jni --enable-dtls --enable-dtls13 --enable-tls --enable-tls13 --enable-ech

PASS: scripts/ocsp.test
FAIL: scripts/unit.test
============================================================================
Testsuite summary for wolfssl 5.8.0
============================================================================
# TOTAL: 12
# PASS:  8
# SKIP:  3
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to https://github.com/wolfssl/wolfssl/issues
============================================================================
make[4]: *** [Makefile:10201: test-suite.log] Error 1

while the

./configure --enable-dtls --enable-dtls13 --enable-tls --enable-tls13 --enable-ech

PASS: scripts/unit.test
============================================================================
Testsuite summary for wolfssl 5.8.0
============================================================================
# TOTAL: 8
# PASS:  5
# SKIP:  3
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0

Reproduction steps

No response

Relevant log output


1div0 avatar Apr 28 '25 12:04 1div0

Hi @1div0,

Thanks for the report, I'm able to reproduce the issue here. I'm looking into this with the team now and will keep you updated on what we find.

kareem-wolfssl avatar Apr 28 '25 22:04 kareem-wolfssl

Hi @1div0,

It looks like our TLS1.3 Middlebox functionality (WOLFSSL_TLS13_MIDDLEBOX_COMPAT, which gets enabled by --enable-jni) is currently incompatible with our ECH implementation.

We're looking into this. Can you share what you're working on?

lealem47 avatar May 28 '25 19:05 lealem47