• Michael Jerris's avatar
    Wed Nov 26 12:42:31 CST 2008 Paulo Pizarro <paulo DOT pizarro AT gmail DOT com> · 253c81bb
    Michael Jerris 提交于
      * tport: new tag TPTAG_TLS_VERIFY_PEER
    
      With this tag, the verification of certificates can be controlled:
      0: no verify certificates.
      1: on server mode, the certificate returned by client is checked and
         if fail the TLS/SSL handshake is immediately terminated.
      1: on client mode, the server certificate is verified and
         if fail the TLS/SSL handshake is immediately terminated.
    
      I added this tag, because I'd like that my application not connected to a
      server with a untrusted certificate.
    
    
    
    git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10824 d0543943-73ff-0310-b7d9-9358b9ac24b2
    253c81bb
tport_tls.h 2.8 KB