Changeset fad7695 in mod_gnutls for src/gnutls_ocsp.h


Ignore:
Timestamp:
Jun 1, 2016, 12:20:12 PM (3 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, master, upstream
Children:
68ce93c
Parents:
64856fd
Message:

Store OCSP trust list in server config

This avoids recreating the trust list whenever an OCSP response has to
be verified.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_ocsp.h

    r64856fd rfad7695  
    4949                               const int num);
    5050
     51/**
     52 * Pool cleanup function that deinits the trust list without
     53 * deinitializing certificates.
     54 */
     55apr_status_t mgs_cleanup_trust_list(void *data);
     56
     57/**
     58 * Initialize server config for OCSP, supposed to be called in the
     59 * post_config hook for each server where OCSP stapling is enabled,
     60 * after certificates have been loaded.
     61 *
     62 * @return OK or DECLINED on success, any other value on error (like
     63 * the post_config hook itself)
     64 */
     65int mgs_ocsp_post_config_server(apr_pool_t *pconf, server_rec *server);
     66
    5167int mgs_get_ocsp_response(gnutls_session_t session, void *ptr,
    5268                          gnutls_datum_t *ocsp_response);
Note: See TracChangeset for help on using the changeset viewer.