Skip to content

Commit

Permalink
pledge import fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rubyroobs committed Oct 11, 2024
1 parent 00156df commit 45b92e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use tokio::net::TcpListener;
use tokio_rustls::TlsAcceptor;

#[cfg(target_os = "openbsd")]
use openbsd::{pledge, unveil};
use openbsd::{pledge_promises, unveil};

#[cfg(target_os = "openbsd")]
pub fn setup_pledge_and_unveil(server_config: &Config) {
Expand Down

0 comments on commit 45b92e3

Please sign in to comment.