<!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>
<p dir="auto">Thanks, most likely the fix is trivial, though I haven't tried it yet (may be side-effects if the server and client use this error code for different purposes).</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">diff --git a/lib/alert.c b/lib/alert.c</span>
<span id="LC2" class="line" lang="plaintext">index 6b1950778..39797c165 100644</span>
<span id="LC3" class="line" lang="plaintext">--- a/lib/alert.c</span>
<span id="LC4" class="line" lang="plaintext">+++ b/lib/alert.c</span>
<span id="LC5" class="line" lang="plaintext">@@ -220,7 +220,6 @@ int gnutls_error_to_alert(int err, int *level)</span>
<span id="LC6" class="line" lang="plaintext"> case GNUTLS_E_RECEIVED_ILLEGAL_PARAMETER:</span>
<span id="LC7" class="line" lang="plaintext"> case GNUTLS_E_ILLEGAL_SRP_USERNAME:</span>
<span id="LC8" class="line" lang="plaintext"> case GNUTLS_E_PK_INVALID_PUBKEY:</span>
<span id="LC9" class="line" lang="plaintext">- case GNUTLS_E_NO_COMMON_KEY_SHARE:</span>
<span id="LC10" class="line" lang="plaintext"> ret = GNUTLS_A_ILLEGAL_PARAMETER;</span>
<span id="LC11" class="line" lang="plaintext"> _level = GNUTLS_AL_FATAL;</span>
<span id="LC12" class="line" lang="plaintext"> break;</span>
<span id="LC13" class="line" lang="plaintext">@@ -254,6 +253,7 @@ int gnutls_error_to_alert(int err, int *level)</span>
<span id="LC14" class="line" lang="plaintext"> case GNUTLS_E_INCOMPAT_DSA_KEY_WITH_TLS_PROTOCOL:</span>
<span id="LC15" class="line" lang="plaintext"> case GNUTLS_E_UNKNOWN_PK_ALGORITHM:</span>
<span id="LC16" class="line" lang="plaintext"> case GNUTLS_E_UNWANTED_ALGORITHM:</span>
<span id="LC17" class="line" lang="plaintext">+ case GNUTLS_E_NO_COMMON_KEY_SHARE:</span>
<span id="LC18" class="line" lang="plaintext"> ret = GNUTLS_A_HANDSHAKE_FAILURE;</span>
<span id="LC19" class="line" lang="plaintext"> _level = GNUTLS_AL_FATAL;</span>
<span id="LC20" class="line" lang="plaintext"> break;</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/537#note_92344438">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/f38ac0add2f92a37ebbee9d9268fde23/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/537#note_92344438"}}</script>
</p>
</div>
</body>
</html>