What are you using to access the OpenSSL libs?

You can do some special code changes in OpenVPN to force TLS 1.2 on the
control and data channels. You also define it in the access of your
application....


On Fri, Aug 30, 2013 at 8:46 AM, The Phoenix <[email protected]>wrote:

> Hi,
>
> I am newbee to openssl stuff. My application just need to run only on
> TLSv1.2 protocol. Which one is the correct way of implementing it:
>
> First Way:
>
> context = SSL_CTX_new(TLSv1_2_method());
>
> Second way:
>
> context = SSL_CTX_new( SSLv23_method() );
> SSL_CTX_set_options( context, SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3 |
> SSL_OP_NO_TLSv1 | SSL_OP_NO_TLSv1_1);
>
> Any help would be really appreciated.
>
> Thanks,
> VS
>
>


-- 
Stacy Devino
StacyDevino.com
KF5NQI
Mobile, Web, Audio, Hardware

Reply via email to