On Mon, Mar 3, 2014 at 1:42 PM, Nick Mathewson <[email protected]> wrote: > On Mon, Mar 3, 2014 at 12:02 AM, Jeffrey Walton <[email protected]> wrote: >> >> How do I access the SSL object associated with the bufferevent bev? > > Here's the function you want: > > /** Return the underlying openssl SSL * object for an SSL bufferevent. */ > struct ssl_st * > bufferevent_openssl_get_ssl(struct bufferevent *bufev); > > > (It returns "struct ssl_st *" instead of "SSL *" so that it isn't > forced to pull in all the openssl headers, but don't worry: those are > actually the same type.) > Oh, I was poking around the wrong header. Thanks you very much.
Jeff *********************************************************************** To unsubscribe, send an e-mail to [email protected] with unsubscribe libevent-users in the body.
