Navigation


Changeset 1186:56c36d1007b4 in freeDiameter for cmake


Ignore:
Timestamp:
Jun 7, 2013, 7:48:34 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Further preparation of the DTLS integration. Some cleanups in the GNUTLS handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cmake/Modules/FindGnuTLS.cmake

    r802 r1186  
    66#  GNUTLS_LIBRARIES - List of libraries when using gnutls.
    77#  GNUTLS_VERSION_210 - true if GnuTLS version is >= 2.10.0 (does not require additional separate gcrypt initialization)
     8#  GNUTLS_VERSION_212 - true if GnuTLS version is >= 2.12.0 (supports gnutls_transport_set_vec_push_function)
    89#  GNUTLS_VERSION_300 - true if GnuTLS version is >= 3.00.0 (x509 verification functions changed)
    910#  GNUTLS_VERSION_310 - true if GnuTLS version is >= 3.01.0 (stabilization branch with new APIs)
     
    4849    UNSET(GNUTLS_VERSION_210)
    4950    UNSET(GNUTLS_VERSION_210 CACHE)
     51    UNSET(GNUTLS_VERSION_212)
     52    UNSET(GNUTLS_VERSION_212 CACHE)
    5053    UNSET(GNUTLS_VERSION_300)
    5154    UNSET(GNUTLS_VERSION_300 CACHE)
     
    5457    GET_FILENAME_COMPONENT(GNUTLS_PATH ${GNUTLS_LIBRARY} PATH)
    5558    CHECK_LIBRARY_EXISTS(gnutls gnutls_hash ${GNUTLS_PATH} GNUTLS_VERSION_210)
     59    CHECK_LIBRARY_EXISTS(gnutls gnutls_transport_set_vec_push_function ${GNUTLS_PATH} GNUTLS_VERSION_212)
    5660    CHECK_LIBRARY_EXISTS(gnutls gnutls_x509_trust_list_verify_crt ${GNUTLS_PATH} GNUTLS_VERSION_300)
    5761    CHECK_LIBRARY_EXISTS(gnutls gnutls_handshake_set_timeout ${GNUTLS_PATH} GNUTLS_VERSION_310)
Note: See TracChangeset for help on using the changeset viewer.