FWIW, there’s a ‘libtls’ library from the libre folks that might be worth looking at.
If you come up with useful snippets we can start by posting them to the wiki, for example
-- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev