Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tls12/tls13: make hash_algorithm crate internal
The `Tls12CipherSuite::hash_algorithm` and `Tls13CipherSuite::hash_algorithm` functions were meant to be crate internal, since their return type leaks the `ring::digest::Algorithm` type. As written today these fns make updates to `*ring*` a breaking change for the Rustls API. This commit switches the visibility of both functions to be crate-internal. Strictly speaking this is a breaking change, but we don't expect there to be consumers of these functions and it unblocks a *ring* update that would otherwise be breaking on its own.
- Loading branch information