Changeset 1027:0117a7746b21 in freeDiameter for libfdcore/config.c
- Timestamp:
- Apr 15, 2013, 4:17:07 PM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdcore/config.c
r1021 r1027 226 226 #endif /* GNUTLS_VERSION_300 */ 227 227 228 #ifndef GNUTLS_VERSION_300 229 # pragma GCC diagnostic ignored "-Wdeprecated-declarations" 230 #endif /* !GNUTLS_VERSION_300 */ 228 231 /* Parse the configuration file (using the yacc parser) */ 229 232 int fd_conf_parse() … … 474 477 unsigned int verify; 475 478 time_t now; 476 #pragma GCC diagnostic ignored "-Wdeprecated-declarations"477 479 GNUTLS_TRACE( gnutls_certificate_get_x509_cas (fd_g_config->cnf_sec_data.credentials, &CA_list, (unsigned int *) &CA_list_length) ); 478 480 GNUTLS_TRACE( gnutls_certificate_get_x509_crls (fd_g_config->cnf_sec_data.credentials, &CRL_list, (unsigned int *) &CRL_list_length) ); 479 #pragma GCC diagnostic warning "-Wdeprecated-declarations"480 481 CHECK_GNUTLS_DO( gnutls_x509_crt_list_verify(certs, cert_max, CA_list, CA_list_length, CRL_list, CRL_list_length, 0, &verify), 481 482 { … … 597 598 return 0; 598 599 } 600 #ifndef GNUTLS_VERSION_300 601 # pragma GCC diagnostic pop "-Wdeprecated-declarations" 602 #endif /* !GNUTLS_VERSION_300 */ 599 603 600 604
Note: See TracChangeset
for help on using the changeset viewer.