-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(UNetStack): better compatibility with ooni/probe-cli models (#41)
The refactoring at 45a7aa9 was a bit too aggressive and we have lost some degree of interface level compatibility with ooni/probe-cli. Let's repair this: * Add the `CACert` accessor required by ooni/probe-cli code. * While there, also declare the accessor as being part of `UnderlyingNetwork`. * We have a slight issue with `ServerTLSConfig`, which is expected by ooni/probe-cli and now is called `MustNewTLSConfig` and, additionally, requires the names for which to generate the certificate. We will solve these issues inside the ooni/probe-cli repository, but let's make sure the `UNetStack` has the correct method. Part of ooni/probe#2531
- Loading branch information
1 parent
45a7aa9
commit df36342
Showing
3 changed files
with
23 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters