SAP Knowledge Base Article - Preview

2343181 - CS_PROP_SSL_PROTOVERSION property is returning the wrong value of TLS - SDK for SAP ASE


  • Getting wrong value from TLS version.
  • Snippet of sample program
    CS_INT val2;
    ret = ct_con_props(connection, CS_GET, CS_PROP_SSL_PROTOVERSION, &val2, CS_UNUSED, NULL);
    EXIT_ON_FAIL(context, ret, "No values!");
         printf ("proto version %i\n", val2);

    proto version 4  <--------------this should be 5 as suggested by cspbulic.h
  • cspublic.h
    #define CS_SSLVER_20            (CS_INT)1
    #define CS_SSLVER_30            (CS_INT)2
    #define CS_SSLVER_TLS1          (CS_INT)3
    #define CS_TLSVER_TLS11         (CS_INT)4
    #define CS_TLSVER_TLS12         (CS_INT)5



  • ASE 15.7 SP137
  • SDK 15.7 SP137
  • SDK 16.0 SP02 PL04
  • new feature support of TLS 1.2


SAP Adaptive Server Enterprise SDK 16.0 ; Sybase SDK 15.7 ; Sybase Software Developer Kit 15.7


CR800355, CR#800355, 800355 , KBA , BC-SYB-SDK , SDK , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.