Navigation


Changeset 807:09f8f0c4f4a4 in freeDiameter for libfdcore/config.c


Ignore:
Timestamp:
Aug 24, 2012, 7:15:48 AM (12 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Several changes to support GnuTLS 3.x in a more efficient way

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/config.c

    r805 r807  
    538538        /* gnutls_certificate_set_verify_limits -- so far the default values are fine... */
    539539       
     540        #ifdef GNUTLS_VERSION_300
     541        /* Use certificate verification during the handshake */
     542        gnutls_certificate_set_verify_function (fd_g_config->cnf_sec_data.credentials, fd_tls_verify_credentials_2);
     543        #endif /* GNUTLS_VERSION_300 */
     544       
    540545        /* DH */
    541546        if (fd_g_config->cnf_sec_data.dh_file) {
Note: See TracChangeset for help on using the changeset viewer.