Skip to content
Open
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
c9968c0
wire up ECH functions from boringssl
eighthave Sep 17, 2021
3ae5bd7
implement ECH Retry Config handling
eighthave Nov 10, 2021
e39aca1
use Android DnsPacket to implement DNS using JNDI/DnsResolver
eighthave Oct 21, 2021
dcbddbb
hack in Exception to handle "ECH_REJECTED" and Retry Configs
eighthave Nov 17, 2021
b1a6773
gradlew: add distributionSha256Sum to verify download
eighthave May 11, 2021
50f54ed
Convenient debug print for ECH Config Lists
eighthave Nov 10, 2021
cb3fb9c
EchInteropTest
eighthave Nov 10, 2021
7ed0dd3
add .gitlab-ci.yml
eighthave Oct 15, 2019
37198ff
additional tests that trigger AssertionError with checkErrorQueue
eighthave Nov 12, 2021
c3a1454
WIP implement full server ECH API
eighthave Nov 10, 2021
0f2c303
changes to resolve compile issues
mnbogner May 12, 2025
e4bf0ab
Merge branch 'master' of https://github.com/google/conscrypt into mas…
mnbogner May 12, 2025
679e4ec
Merge branch 'master' of https://github.com/eighthave/conscrypt into …
mnbogner May 13, 2025
e9de453
fixing several compile errors
mnbogner May 14, 2025
3235c53
restore missing test code
mnbogner May 15, 2025
4cb4ebd
revised test cases to handle exceptions better and print louder log m…
mnbogner May 23, 2025
5bb8514
revert changes required for local build issues
mnbogner May 26, 2025
a7de26c
revised tests to use live dns results instead of parsed files
mnbogner May 31, 2025
1481f4b
replace parameters with parameter object
mnbogner Jun 3, 2025
23ba5bb
fleshed out Conscrypt method descriptions based on feedback
mnbogner Jun 11, 2025
d24922d
Merge branch 'master' of https://github.com/google/conscrypt into bas…
mnbogner Jun 11, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Convenient debug print for ECH Config Lists
  • Loading branch information
eighthave committed Nov 17, 2021
commit 50f54ed368ee215d4028c07c924aae329a4bbab6
12 changes: 12 additions & 0 deletions openjdk/src/test/java/org/conscrypt/NativeCryptoTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,18 @@ public long beforeHandshake(long c) throws SSLException {
assertTrue(serverCallback.serverCertificateRequestedInvoked);
}

/** Convenient debug print for ECH Config Lists */
private void printEchConfigList(String msg, byte[] buf) {
int blen = buf.length;
System.out.print(msg + " (" + blen + "):\n ");
for (int i = 0; i < blen; i++) {
if ((i != 0) && (i % 16 == 0))
System.out.print("\n ");
System.out.print(String.format("%02x:", Byte.toUnsignedInt(buf[i])));
}
System.out.print("\n");
}

@Test
public void test_SSL_do_handshake_ech_client_server() throws Exception {
System.out.println("test_SSL_do_handshake_ech_client_server");
Expand Down