Skip to content

Commit 41c202e

Browse files
authored
bump boringtun to latest commit to pull FreeBSD fixes (#269)
1 parent ab0cd0c commit 41c202e

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ socket2 = "0.5.10"
7474

7575
[patch.crates-io]
7676
# tokio = { path = "../tokio/tokio" }
77-
boringtun = { git = 'https://github.com/cloudflare/boringtun', rev = 'e3252d9c4f4c8fc628995330f45369effd4660a1' }
77+
boringtun = { git = 'https://github.com/cloudflare/boringtun', rev = '2f3c85f5c4a601018c10b464b1ca890d9504bf6e' }
7878

7979
[target.'cfg(windows)'.dependencies.windows]
8080
version = "0.61.1"

src/packet_sources/wireguard.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ impl PacketSourceConf for WireGuardConf {
7171
Some(25),
7272
index,
7373
None,
74-
)
75-
.map_err(|error| anyhow!(error))?;
74+
);
7675

7776
let peer = Arc::new(Mutex::new(WireGuardPeer {
7877
tunnel,

wireguard-test-client/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ fn main() -> Result<()> {
2323
<[u8; 32]>::try_from(BASE64.decode(b"mitmV5Wo7pRJrHNAKhZEI0nzqqeO8u4fXG+zUbZEXA0=")?)
2424
.unwrap(),
2525
);
26-
let mut tunn = Tunn::new(static_private, peer_static_public, None, None, 0, None).unwrap();
26+
let mut tunn = Tunn::new(static_private, peer_static_public, None, None, 0, None);
2727

2828
let socket = UdpSocket::bind("127.0.0.1:0")?;
2929
socket.set_read_timeout(Some(Duration::from_secs(1)))?;

0 commit comments

Comments
 (0)