<!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 style="color: #777777;">
<a href="https://gitlab.com/mbiberhofer">Mario Biberhofer</a>
commented:
</p>
<div style="">
<p dir="auto">Alright, I'll once again review it/clean it up (I've let it "rest" for the past few weeks) and then publish the implementation and create an MR.</p>
<p dir="auto">As a teaser, here's a list of the functions I added to the OCSP implementation:</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_version(gnutls_ocsp_resp_t resp, unsigned int version);</span>
<span id="LC2" class="line" lang="plaintext">int gnutls_ocsp_resp_set_responder_raw_id(gnutls_ocsp_resp_t resp, unsigned type, gnutls_datum_t raw);</span>
<span id="LC3" class="line" lang="plaintext">int gnutls_ocsp_resp_set_produced_at(gnutls_ocsp_resp_t resp, time_t produced_at);</span>
<span id="LC4" class="line" lang="plaintext">int gnutls_ocsp_resp_append_single_resp(gnutls_ocsp_resp_t resp,</span>
<span id="LC5" class="line" lang="plaintext">                                       gnutls_digest_algorithm_t digest,</span>
<span id="LC6" class="line" lang="plaintext">                                       const gnutls_datum_t *issuer_name_hash,</span>
<span id="LC7" class="line" lang="plaintext">                                       const gnutls_datum_t *issuer_key_hash,</span>
<span id="LC8" class="line" lang="plaintext">                                       const gnutls_datum_t *serial_number,</span>
<span id="LC9" class="line" lang="plaintext">                                       gnutls_ocsp_cert_status_t status,</span>
<span id="LC10" class="line" lang="plaintext">                                       time_t *revocation_time,</span>
<span id="LC11" class="line" lang="plaintext">                                       gnutls_x509_crl_reason_t revocation_reason,</span>
<span id="LC12" class="line" lang="plaintext">                                       time_t *next_update, time_t *this_update);</span>
<span id="LC13" class="line" lang="plaintext"></span>
<span id="LC14" class="line" lang="plaintext">int gnutls_ocsp_resp_set_signature_algorithm(gnutls_ocsp_resp_t resp, gnutls_sign_algorithm_t algo);</span>
<span id="LC15" class="line" lang="plaintext">int gnutls_ocsp_resp_set_signature(gnutls_ocsp_resp_t resp, gnutls_datum_t sig);</span>
<span id="LC16" class="line" lang="plaintext">int gnutls_ocsp_resp_sign(gnutls_ocsp_resp_t resp, gnutls_x509_privkey_t sign_key);</span>
<span id="LC17" class="line" lang="plaintext">int gnutls_ocsp_resp_set_status(gnutls_ocsp_resp_t resp, gnutls_ocsp_resp_status_t status);</span>
<span id="LC18" class="line" lang="plaintext">int gnutls_ocsp_resp_set_nonce(gnutls_ocsp_resp_t resp, unsigned int critical, gnutls_datum_t * nonce);</span>
<span id="LC19" class="line" lang="plaintext">int gnutls_ocsp_resp_set_certs(gnutls_ocsp_resp_t resp, gnutls_x509_crt_t * certs, size_t ncerts);</span></code></pre>
</div>


</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/859#note_240122107">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/2c1d94b108eb479719d72f8350da270c/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/859#note_240122107"}}</script>


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