uNetworking / uSockets

Miniscule cross-platform eventing, networking & crypto for async applications
Apache License 2.0
1.29k stars 268 forks source link

adds tls peer verify #78

Closed matt-deboer closed 5 years ago

matt-deboer commented 5 years ago

Adds a ca_file_name field to us_socket_context_options_t which enables basic tls peer verification using the provided cert/bundle file.

Includes hack/gen_test_certs.sh to create the certs used by examples/peer_verify_test.c