Debian Codegraph @

crt/s2n/bindings/rust/standard/integration/src/main.rs

raw symbols SCIP
1 // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2 // SPDX-License-Identifier: Apache-2.0
3
4 use s2n_tls_sys::*;
5
6 fn main() {
7 unsafe {
8 s2n_init();
9 let conn = s2n_connection_new(s2n_mode::SERVER);
10
11 if !conn.is_null() {
12 s2n_connection_free(conn);
13 }
14 }
15 }