Migrate SSL version from 4.0 to 4.5

Hi,

I am going to migrate application from SSL Developer Kit 4.0 to 4.5. Please let me 2 questions.

1. What property name is SSL_OPT_DISTRIBUTOR with SSL Developer Kit 4.0 in version 4.5?

2. What function name is sslDismount with SSL Developer Kit 4.0 in version 4.5?

Kind Regards,

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    For the first question, in SSL API 4.5, it could be SSL_OPT_IPC_HOST_NAME. This option is for retrieving the host name of the SSL IPC peer to which the channel is connected.

    For the second question, there is no sslDismount method in SSL API 4.5. In SSL API 4.5, you can post the SSL_ET_SESSION_DISMOUNT event instead. This event is used by an application to notify its peer that the specified channel previously established via sslMsgMount(), sslSnkMount(), sslSrcMount(), or an SSL_ET_SESSION_REQ event is terminated.


Answers