Changeset ac3f500 in mod_gnutls for src/gnutls_hooks.c


Ignore:
Timestamp:
Jun 18, 2016, 2:58:28 PM (4 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, master, proxy-ticket, upstream
Children:
ef06c74
Parents:
87d507b
git-author:
Thomas Klute <thomas2.klute@…> (06/18/16 14:53:10)
git-committer:
Thomas Klute <thomas2.klute@…> (06/18/16 14:58:28)
Message:

Compatibility code for GnuTLS version < 3.4

  • gnutls_memset() is not available.
  • GNUTLS_MAX_SESSION_ID_SIZE is undefined. GNUTLS_MAX_SESSION_ID serves the same purpose, but the name is less intuitive.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_hooks.c

    r87d507b rac3f500  
    6161{
    6262    /* Free session ticket master key */
     63#if GNUTLS_VERSION_NUMBER >= 0x030400
    6364    gnutls_memset(session_ticket_key.data, 0, session_ticket_key.size);
     65#endif
    6466    gnutls_free(session_ticket_key.data);
    6567    session_ticket_key.data = NULL;
Note: See TracChangeset for help on using the changeset viewer.