Changeset d04f7da in mod_gnutls for src/gnutls_hooks.c


Ignore:
Timestamp:
Apr 7, 2015, 12:28:40 PM (5 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, upstream
Children:
2cde026d
Parents:
2cde8111
Message:

Version guards for gnutls_privkey_import_openpgp_raw workaround

The invalid free bug in gnutls_privkey_import_openpgp_raw should be
fixed in GnuTLS 3.3.12 [1], so add appropriate version guards and use
the workaround only with older versions.

[1] https://github.com/nmav/mod_gnutls/commit/031acac9c6541034777f8917633164b51f6bd10a#commitcomment-10581365

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_hooks.c

    r2cde8111 rd04f7da  
    369369         * https://lists.gnupg.org/pipermail/gnutls-devel/2015-January/007377.html
    370370         * Workaround from:
    371          * https://github.com/vanrein/tlspool/commit/4938102d3d1b086491d147e6c8e4e2a02825fc12
    372          *
    373          * TODO: add appropriate version guards */
     371         * https://github.com/vanrein/tlspool/commit/4938102d3d1b086491d147e6c8e4e2a02825fc12 */
    374372#if GNUTLS_VERSION_NUMBER < 0x030312
    375373        gnutls_certificate_set_retrieve_function(sc->certs, (void *) exit);
Note: See TracChangeset for help on using the changeset viewer.