<!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/nmav">Nikos Mavrogiannopoulos</a>
commented:
</p>
<div style="">
<p dir="auto">It makes sense. Seeing how this is implemented in <a href="https://github.com/openssl/openssl/pull/6674/files#diff-ac9bfc23ea9303f8896d38a0aa01ad6e" rel="nofollow noreferrer noopener" target="_blank">openssl</a> and PKCS#11, such an API can get very messy and hard to use if everything needs to be handled.</p>
<p dir="auto">Not sure if it helps, but checking what model could fit for such a demanding/extensible API, the closest I see is some function similar to <code>gnutls_session_set_verify_cert2</code> with <code>gnutls_vdata_types_t</code>, but most likely on steroids.</p>
</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/813#note_199708767">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/7c079b11b85d342898ed83f08f985dbb/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/813#note_199708767"}}</script>


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