Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The own_name field in epoch_data is a [`host] Domain_name.t as well. #438

Merged
merged 2 commits into from
Aug 2, 2021

Conversation

hannesm
Copy link
Member

@hannesm hannesm commented Jul 28, 2021

The peer_name field is configured by the client (emitting a SNI (Server Name
Indication) extension in the ClientHello). The own_name is filled by the server
from the ClientHello SNI.

This extends #434.

//cc @torinnd (FYI)

The peer_name field is configured by the client (emitting a SNI (Server Name
Indication) extension in the ClientHello). The own_name is filled by the server
from the ClientHello SNI.

This extends mirleft#434.
@hannesm hannesm merged commit e5fefb4 into mirleft:main Aug 2, 2021
@hannesm hannesm deleted the further-naming branch August 2, 2021 09:00
hannesm added a commit to hannesm/opam-repository that referenced this pull request Aug 2, 2021
CHANGES:

* Breaking: peer_name (in config and epoch data, also own_name) is now a
  [`host] Domain_name.t instead of a string. (mirleft/ocaml-tls#434 mirleft/ocaml-tls#438 @torinnd @hannesm)
* Add a X509_async module (mirleft/ocaml-tls#435 @torinnd)
* Client and server constructor log messages are on the debug level (mirleft/ocaml-tls#436
  reported by @talex5, fix by @hannesm)
* Adapt to cstruct 6.0.0 API (Cstruct.len is deprecated) mirleft/ocaml-tls#439 @hannesm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant