<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>


<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">

<p class="details" style="font-style: italic; color: #777;">
<a href="https://gitlab.com/rockdaboot">Tim Rühsen</a> created an issue:
</p>
<div></div>
<p dir="auto">Looking at <a href="https://www.gnutls.org/manual/html_node/OCSP-certificate-status-checking.html" rel="nofollow noreferrer noopener" target="_blank">https://www.gnutls.org/manual/html_node/OCSP-certificate-status-checking.html</a>, there seems to be missing a function to generate OCSP responses (or fill the response structure with values).</p>
<p dir="auto">It would be very nice to have a pure GnuTLS OCSP responder for the GNU Wget2 test suite. Currently we manually start the 'openssl ocsp' tool and save the OCSP response to disk for later use. This adds OpenSSL as maintainer dependency and is clumsy - not talking about outdating time values in the response.</p>
<p dir="auto">What we basically need is</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">int gnutls_ocsp_resp_set_single (gnutls_ocsp_resp_t resp, unsigned indx, gnutls_digest_algorithm_t digest, gnutls_datum_t * issuer_name_hash, gnutls_datum_t * issuer_key_hash, gnutls_datum_t * serial_number, unsigned int cert_status, time_t this_update, time_t next_update, time_t revocation_time, unsigned int revocation_reason)</span></code></pre>
<p dir="auto">plus an example. (Don't nail me for the details of such a function).</p>

</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/issues/804">view it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
<a href="https://gitlab.com/sent_notifications/426a01d1c4860977f0a7de0044f124cf/unsubscribe">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.com/gnutls/gnutls/issues/804"}}</script>


</p>
</div>
</body>
</html>