<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 04/03/2017 04:42 AM, Hegde, Harsha wrote:<br>
    <blockquote
cite="mid:CY4PR12MB1478F756992597E9BB9AAB158F080@CY4PR12MB1478.namprd12.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">Hi,<o:p></o:p></p>
        <p class="MsoNormal">I have an query regarding TLS compatibility
          used in my application. Currently we are using TLS1.2 to
          connect to a third party sever. Is there any way to always use
          the highest TLS available version without modifying or
          recompiling the application code whenever there is any new
          version of TLS released.<o:p></o:p></p>
        <br>
      </div>
    </blockquote>
    <br>
    The closest you can come is to use TLS_method() (or the client- or
    server-specific version of it), which will prefer the highest
    version supported by the library, but also be able to use older
    versions if needed in order to interoperate with the peer.  It's not
    entirely clear whether your question was about restricting to
    specifically the highest version, to the exclusion of older
    versions.<br>
    <br>
    -Ben<br>
  </body>
</html>