Skip to content

Commit

Permalink
Change the layout of TlsConfig to C style
Browse files Browse the repository at this point in the history
  • Loading branch information
iyangsj committed Jun 4, 2024
1 parent d4eeab9 commit 130f7a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tls/tls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ where
}
}

#[repr(C)]
pub struct TlsConfig {
/// Boringssl SSL context.
tls_ctx: boringssl::tls::Context,
Expand Down

0 comments on commit 130f7a2

Please sign in to comment.