Changeset 556783e in mod_gnutls for src/gnutls_cache.h


Ignore:
Timestamp:
Jul 24, 2019, 2:29:40 AM (19 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
asyncio, master, proxy-ticket
Children:
e376ed8
Parents:
81018a4
Message:

Provide OCSP response via gnutls_certificate_retrieve_function3 callback

This replaces the old OCSP callback function, which is still used
internally.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_cache.h

    r81018a4 r556783e  
    139139 * @param key key for the cache entry to be fetched
    140140 *
    141  * @param pool pool to allocate the response and other temporary
    142  * memory from
     141 * @param output pre-allocated buffer to write to and its size
    143142 *
    144  * @return the requested cache entry, or `{NULL, 0}`
     143 * @param pool pool to allocate temporary memory from
     144 *
     145 * @return APR status or error value
    145146 */
    146 gnutls_datum_t mgs_cache_fetch(mgs_cache_t cache, server_rec *server,
    147                                gnutls_datum_t key, apr_pool_t *pool);
     147apr_status_t mgs_cache_fetch(mgs_cache_t cache, server_rec *server,
     148                             gnutls_datum_t key, gnutls_datum_t *output,
     149                             apr_pool_t *pool);
    148150
    149151/**
Note: See TracChangeset for help on using the changeset viewer.