Navigation


Changeset 1357:925470fbe59d in freeDiameter


Ignore:
Timestamp:
May 19, 2019, 12:58:48 AM (5 years ago)
Author:
Thomas Klausner <tk@giga.or.at>
Branch:
default
Phase:
public
Message:

Avoid deprecated functions (like in libfdcore/core.c).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/tests.h

    r1127 r1357  
    132132       
    133133
     134#ifndef GNUTLS_VERSION_210
    134135GCRY_THREAD_OPTION_PTHREAD_IMPL;
     136#endif /* GNUTLS_VERSION_210 */
    135137
    136138/* gnutls debug. */
     
    214216       
    215217        /* Initialize gcrypt and gnutls */
     218#ifndef GNUTLS_VERSION_210
    216219        (void) gcry_control (GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread);
    217220        (void) gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0);
     221#endif /* GNUTLS_VERSION_210 */
    218222        CHECK( 0, gnutls_global_init());
    219223        /* Set gnutls debug level ? */
Note: See TracChangeset for help on using the changeset viewer.