[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] SSL NPN with libevent



On Wed, Oct 10, 2012 at 01:19:31PM -0400, Programmist Setevik wrote:
> Is there an easy/supported way to have OpenSSL 1.x perform NPN negotiation
> while using libevent's support for OpenSSL ?
> Need to be told what SSL ended up selecting , from the proposed list of
> protos.
> 
> Any code examples much appreciated ...

You can set any ssl option you like on a ctx. bufferevent_openssl just
handles reads/writes and handshakes. You can pass your own SSL
structures..

See: https://github.com/ellzey/libevhtp/blob/master/evhtp.c#L2954
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.