Re: TLS/SSL Protocol negotiation

2014-05-17 Thread Jeffrey Walton
On Sat, May 17, 2014 at 6:31 AM, AlfaOmega08 wrote: > I had a hard time trying to make a simple HTTPS server with OpenSSL. > However I managed to build it with TLSv1.2 support using the 1.0.2 > beta version. > > The code I use to initialize the context is the following: > > ... > ssl_method = TLSv

TLS/SSL Protocol negotiation

2014-05-17 Thread AlfaOmega08
I had a hard time trying to make a simple HTTPS server with OpenSSL. However I managed to build it with TLSv1.2 support using the 1.0.2 beta version. The code I use to initialize the context is the following: SSL_library_init(); OpenSSL_add_all_algorithms(); SSL_load_error_strings(); ssl_method =