• Jarod Neuner's avatar
    Early TLS Handshake and Verification · 4af68bbd
    Jarod Neuner authored
    tport_type_tls.c:
    * tport_tls_accept():
      - Replaces tport_accept for incoming TLS connections.
    * tport_tls_connect():
      - Replaces tport_base_connect() for outgoing TLS connections.
    
    tport_tls.c:
    * tls_t now use a memory home instead of malloc.
    * removed tls_check_hosts()
    * tls_connect():
      - Replaces tport_base_connect for TLS connection setup.
      - Completes TLS handshake and verifies peer certificates.
      - Destroys suspect TLS connections before sending/receiving payload.
      - Populates a su_strlst_t with subjects from the peer certificate.
    
    tport.c:
    * tport_is_verified()
      - true if peer certificate validated successfully
    * tport_delivered_from_subjects()
      - Certificate subjects listed in the peer certificate.
    
    darcs-hash:20081216221937-2152f-3d6b74d411b57c22230e4840fca133da48c86368.gz
    4af68bbd
Name
Last commit
Last update
..
sofia-sip Loading commit data...
ChangeLog Loading commit data...
Doxyfile.in Loading commit data...
Makefile.am Loading commit data...
agent.pem Loading commit data...
cafile.pem Loading commit data...
certificates-update Loading commit data...
certificates.html Loading commit data...
test_tport.c Loading commit data...
tls_test_client.c Loading commit data...
tls_test_server.c Loading commit data...
tport.c Loading commit data...
tport.docs Loading commit data...
tport_internal.h Loading commit data...
tport_logging.c Loading commit data...
tport_rand.c Loading commit data...
tport_sigcomp.c Loading commit data...
tport_stub_sigcomp.c Loading commit data...
tport_stub_stun.c Loading commit data...
tport_tag.c Loading commit data...
tport_threadpool.c Loading commit data...
tport_tls.c Loading commit data...
tport_tls.h Loading commit data...
tport_type_connect.c Loading commit data...
tport_type_sctp.c Loading commit data...
tport_type_stun.c Loading commit data...
tport_type_tcp.c Loading commit data...
tport_type_tls.c Loading commit data...
tport_type_udp.c Loading commit data...