Registry / crypto / openssl-sys

openssl-sys

JSON →
library0.9.117rscratesunverified

FFI bindings to OpenSSL

# Cargo.toml [dependencies] openssl-sys = "0.9.117"
INSTALL
IMPORT
SIG · OPENSSL-SYS
O
openssl-sys
cryptorustv0.9.117
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SSL_new
use openssl_sys::SSL_new;

Create a new SSL context using raw FFI.

use openssl_sys::SSL_new; fn main() { unsafe { let ctx = std::ptr::null_mut(); let ssl = SSL_new(ctx); println!("SSL context created"); } }
Debug
Known issues
gotchaRequires OpenSSL development libraries installed.
fix
Install libssl-dev or equivalent.
affects: >=0.9.0
Upgrade
Version history
0.9.117latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
openssl-sys — cargo add openssl-sys · libregistry