• Paulo Pizarro paulo DOT pizarro AT gmail DOT com's avatar
    tport: new tag TPTAG_TLS_VERIFY_PEER · 0c8aac4a
    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.
    
    darcs-hash:20081126184231-daa5a-26fe2a4f958d2f931d3f7e9b31bc0426e7250a1f.gz
    0c8aac4a
tport_tag.c 13.8 KB