Changeset 641d11b in mod_gnutls for src/gnutls_cache.h


Ignore:
Timestamp:
Jun 5, 2020, 2:18:27 PM (11 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
asyncio, master
Children:
e6d9e47
Parents:
2b1b52f
Message:

Delete session tickets for proxy connections when using them

Tickets should not be reused because an attacker could correlate
connections using the same ticket. Cache deletion code has been
extracted from socache_delete_session() into a generic function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_cache.h

    r2b1b52f r641d11b  
    154154                             gnutls_datum_t key, gnutls_datum_t *output,
    155155                             apr_pool_t *pool);
     156
     157/**
     158 * Delete an item from the mod_gnutls object caches.
     159 *
     160 * @param cache the cache to delete from
     161 *
     162 * @param server server context for the request
     163 *
     164 * @param key key for the cache entry to be deleted
     165 *
     166 * @param pool pool to allocate temporary memory from
     167 *
     168 * @return APR status or error value
     169 */
     170apr_status_t mgs_cache_delete(mgs_cache_t cache, server_rec *server,
     171                              gnutls_datum_t key, apr_pool_t *pool);
    156172
    157173/**
Note: See TracChangeset for help on using the changeset viewer.