<!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">It's possible I found the problem. In current <code>crypto/evp/c_allc.c</code> there is the following:</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">#ifndef OPENSSL_NO_CHACHA</span>
<span id="LC2" class="line" lang="plaintext"> EVP_add_cipher(EVP_chacha20());</span>
<span id="LC3" class="line" lang="plaintext"># ifndef OPENSSL_NO_POLY1305</span>
<span id="LC4" class="line" lang="plaintext"> EVP_add_cipher(EVP_chacha20_poly1305());</span>
<span id="LC5" class="line" lang="plaintext"># endif</span>
<span id="LC6" class="line" lang="plaintext">#endif</span></code></pre>
<p dir="auto">LibreSSL does not have that file but it does have <code>crypto/evp/c_all.c</code> and it only has the following:</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">#ifndef OPENSSL_NO_CHACHA</span>
<span id="LC2" class="line" lang="plaintext"> EVP_add_cipher(EVP_chacha20());</span>
<span id="LC3" class="line" lang="plaintext">#endif</span></code></pre>
<p dir="auto">A grep in the directory shown no <code>EVP_add_cipher(EVP_chacha20_poly1305())</code></p>
<p dir="auto">If that is needed before <code>evp_cipher = EVP_get_cipherbyname(ocipher);</code> can work than that test won't work with LibreSSL. I don't know. Tempting to try patching LibreSSL to add that and see what happens but I could be barking up wrong tree.</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_127251363">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/5d23794b906b3115f9deea507a06a69c/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_127251363"}}</script>
</p>
</div>
</body>
</html>