Changeset cf6f974 in mod_gnutls for src/gnutls_hooks.c


Ignore:
Timestamp:
Jan 11, 2020, 11:39:48 AM (9 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
master, proxy-ticket
Children:
de9b100
Parents:
98b37a1
Message:

mgs_get_ocsp_response: Accept request information from cert_retrieve_fn

With this the certificate retrieve function could request multiple
responses for stapling if it had the request information.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_hooks.c

    r98b37a1 rcf6f974  
    44 *  Copyright 2011 Dash Shendy
    55 *  Copyright 2013-2014 Daniel Kahn Gillmor
    6  *  Copyright 2015-2019 Fiona Klute
     6 *  Copyright 2015-2020 Fiona Klute
    77 *
    88 *  Licensed under the Apache License, Version 2.0 (the "License");
     
    417417            resp->exptime = 0;
    418418
    419             int ret = mgs_get_ocsp_response(session, NULL, &resp->response);
     419            int ret = mgs_get_ocsp_response(ctxt, ctxt->sc->ocsp,
     420                                            &resp->response);
    420421            if (ret == GNUTLS_E_SUCCESS)
    421422            {
Note: See TracChangeset for help on using the changeset viewer.