Пример #1
0
 void SetupServerSession(mbedtls_ssl_context* sess)
 {
     mbedtls_ssl_setup(sess, serverctx.GetConf());
 }
Пример #2
0
 /** Set up the given session with the settings in this profile
  */
 void SetupClientSession(mbedtls_ssl_context* sess)
 {
     mbedtls_ssl_setup(sess, clientctx.GetConf());
 }