chanmgr: bubble ClockSkew up through the Error object.
Fortunately, we don't need a separate type here: authenticated clock skew can only come attached to a `tor_proto::Error`. We also remove skew from `tor_proto::Error::HandshakeCertsExpired`, since it would now be redundant.
Showing
- crates/tor-chanmgr/src/builder.rs 15 additions, 3 deletionscrates/tor-chanmgr/src/builder.rs
- crates/tor-chanmgr/src/err.rs 41 additions, 5 deletionscrates/tor-chanmgr/src/err.rs
- crates/tor-chanmgr/src/lib.rs 2 additions, 1 deletioncrates/tor-chanmgr/src/lib.rs
- crates/tor-proto/src/channel/handshake.rs 1 addition, 1 deletioncrates/tor-proto/src/channel/handshake.rs
- crates/tor-proto/src/util/err.rs 0 additions, 2 deletionscrates/tor-proto/src/util/err.rs
- doc/semver_status.md 5 additions, 0 deletionsdoc/semver_status.md
Loading
Please register or sign in to comment