<!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=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>


<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<div style="">
<p dir="auto">Okay based on their answer, <code>EVP_get_cipherbyname(ocipher)</code> will fail for aes-{128,192,256}-ccm because the NID is not registered in <code>crypto/evp/c_all.c</code> because of an oversight that will be fixed shortly and will fail for <code>chacha20-poly1305</code> because they do not yet have an EVP implementation for it, only an EVP_AEAD implementation.</p>
<p dir="auto">So the</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">@@ -189,7 +189,7 @@</span>
<span id="LC2" class="line" lang="plaintext">        /* ciphers */</span>
<span id="LC3" class="line" lang="plaintext">        cipher_test("aes-128-gcm", GNUTLS_CIPHER_AES_128_GCM, 16);</span>
<span id="LC4" class="line" lang="plaintext">        cipher_test("aes-256-gcm", GNUTLS_CIPHER_AES_256_GCM, 16);</span>
<span id="LC5" class="line" lang="plaintext">-#if OPENSSL_VERSION_NUMBER >= 0x10100000L</span>
<span id="LC6" class="line" lang="plaintext">+#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined (LIBRESSL_VERSION_NUMBER)</span>
<span id="LC7" class="line" lang="plaintext">        if (!gnutls_fips140_mode_enabled()) {</span>
<span id="LC8" class="line" lang="plaintext">                cipher_test("chacha20-poly1305", GNUTLS_CIPHER_CHACHA20_POLY1305, 16);</span>
<span id="LC9" class="line" lang="plaintext">        }</span></code></pre>
<p dir="auto">from the patch I made in <a href="https://gitlab.com/gnutls/gnutls/merge_requests/845" data-original="!845" data-link="false" data-link-reference="false" data-project="179611" data-merge-request="21341046" data-reference-type="merge_request" data-container="body" data-placement="bottom" title="Update cipher-openssl-compat.c for LibreSSL abuse of OPENSSL_VERSION_NUMBER" class="gfm gfm-merge_request has-tooltip">!845</a> is still needed, but the first part of the patch I made is fixed by this PR.</p>
</div>


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

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/merge_requests/846#note_127306480">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/12d3acab47bd22244050e549f23baf5c/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 Merge request","url":"https://gitlab.com/gnutls/gnutls/merge_requests/846#note_127306480"}}</script>
</p>
</div>
</body>
</html>