Mark Constable writes:
Might be a vaguely related example here...https://github.com/nginx/nginx/blob/master/src/http/ngx_http_request.c#L822
Most of the code in there references other nginx-related internal functions, likely wrappers for the SSL code.
Did some further digging inside openssl's innards. The relevant API calls are SSL_CTX_set_tlsext_servername_callback(), on the server side, and SSL_set_tlsext_host_name() on the client side.
Neither one of them has a man page. Google was unable to find any documentation on openssl's web site either. There wre some hits on stackoverflow, and they refer to the source code to s_client.c and s_server.c from the OpenSSL distribution.
I'm sure the OpenSSL folks are all donating their free time into it, like myself, so can't really knock them for the lacking API documentation. Perhaps the LibreSSL fork will eventually find the time to write some good documentation. And maybe pick a better name…
Anyway, after some digging around, I think I have what I need to finally add this to my OpenSSL code.
pgpgVera5Ir0W.pgp
Description: PGP signature
------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
