Navigation


Changeset 805:fb5e0fd923ff in freeDiameter for include


Ignore:
Timestamp:
Aug 23, 2012, 5:56:22 AM (12 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Updated verification of the local certificate following GnuTLS 3.x guideline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/freeDiameter/libfdcore.h

    r740 r805  
    5252#endif /* GNUTLS_DBG_LEVEL */
    5353
     54
    5455/* Check the return value of a GNUTLS function, log and propagate */
    5556#define CHECK_GNUTLS_DO( __call__, __fallback__ ) {                                             \
     
    150151               
    151152                /* GNUTLS server credential(s) */
    152                 gnutls_certificate_credentials_t credentials;
     153                gnutls_certificate_credentials_t credentials; /* contains local cert + trust anchors */
     154                #ifdef GNUTLS_VERSION_300
     155                gnutls_x509_trust_list_t         trustlist; /* the logic to check local certificate has changed */
     156                #endif /* GNUTLS_VERSION_300 */
    153157               
    154158        }                cnf_sec_data;
Note: See TracChangeset for help on using the changeset viewer.