On 5/1/2013 3:55 AM, Indtiny s wrote:
Hi,
I have compiled libcurl with openssl , When I tried for some TLS handshake .
In the Clinet hello  .

Content Type: Handshake (22)
*Version: TLS 1.0 (0x0301)*
Handshake Protocol: Client Hello
Handshake Type: Client Hello (1)
Version: TLS 1.2 (0x0303)

Due to some requirment , server looks for the same  version as well, I
need to send a Clinet hello as below

Content Type: Handshake (22)
*Version: TLS 1.2 (0x0303)*
Handshake Protocol: Client Hello
Handshake Type: Client Hello (1)
Version: TLS 1.2 (0x0303)

How to set the openssl to send a hello packet as above ..?

Use OpenSSL library version 1.0.1e or later and pass the option bits:
   SSL_OP_NO_TLSv1_1|SSL_OP_NO_TLSv1|SSL_OP_NO_SSLv3|SSL_OP_NO_SSLv2


Enjoy

Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S.  http://www.wisemo.com
Transformervej 29, 2730 Herlev, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to