Registry / crypto / s2n
library1.7.1vcpkgunverified

C99 implementation of the TLS/SSL protocols, designed for simplicity and security.

vcpkg install s2n
INSTALL
IMPORT
SIG · S2N
S
s2n
cryptocppv1.7.1
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.

s2n.h
#include <s2n.h>

Minimal s2n initialization and cleanup

#include <s2n.h> #include <stdio.h> int main() { if (s2n_init() != S2N_SUCCESS) { fprintf(stderr, "s2n_init failed\n"); return 1; } printf("s2n initialized\n"); s2n_cleanup(); return 0; }
Debug
Known issues
gotchaRequires careful error handling; s2n_errno must be checked after failures.
fix
Always check return codes and use s2n_strerror(s2n_errno, "EN") for diagnostics.
affects: all
Upgrade
Version history
1.7.1latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
Amazon
1
Resources

No resource links recorded.

s2n — pip install s2n · libregistry