Skip to content

Commit

Permalink
fixup! Use IAN TCP connection for ephemeral peer exchange
Browse files Browse the repository at this point in the history
  • Loading branch information
pinkisemils committed Dec 16, 2024
1 parent d0ed16d commit f422ada
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ios/MullvadRustRuntime/include/mullvad_rust_runtime.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ int32_t encrypted_dns_proxy_stop(struct ProxyHandle *proxy_config);
void cancel_ephemeral_peer_exchange(struct ExchangeCancelToken *sender);

/**
* Called by the Swift side to signal that the Rust `EphemeralPeerCancelToken` can be safely dropped
* from memory.
* Called by the Swift side to signal that the Rust `EphemeralPeerCancelToken` can be safely
* dropped from memory.
*
* # Safety
* `sender` must be pointing to a valid instance of a `EphemeralPeerCancelToken` created by the
Expand All @@ -117,7 +117,6 @@ void drop_ephemeral_peer_exchange_token(struct ExchangeCancelToken *sender);
* `packet_tunnel` must be valid pointers to a packet tunnel, the packet tunnel pointer must
* outlive the ephemeral peer exchange. `cancel_token` should be owned by the caller of this
* function.
*
*/
struct ExchangeCancelToken *request_ephemeral_peer(const uint8_t *public_key,
const uint8_t *ephemeral_key,
Expand Down

0 comments on commit f422ada

Please sign in to comment.