<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en" style='--code-editor-font: var(--default-mono-font, "GitLab Mono"), JetBrains Mono, Menlo, DejaVu Sans Mono, Liberation Mono, Consolas, Ubuntu Mono, Courier New, andale mono, lucida console, monospace;'>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>
<style data-premailer="ignore" type="text/css">
a { color: #1068bf; }
</style>
<style>img {
max-width: 100%; height: auto;
}
body {
font-size: .875rem;
}
body {
-webkit-text-shadow: rgba(255,255,255,.01) 0 0 1px;
}
body {
font-family: "GitLab Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; font-size: inherit;
}
</style>
</head>
<body style='font-size: inherit; -webkit-text-shadow: rgba(255,255,255,.01) 0 0 1px; font-family: "GitLab Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";'>
<div class="content">
<p class="details" style="font-style: italic; color: #626168;">
<a href="https://gitlab.com/loklak">Robin</a> created an issue: <a href="https://gitlab.com/gnutls/gnutls/-/issues/1668">#1668</a>
</p>
<div class="md" style="position: relative; z-index: 1; color: #3a383f; word-wrap: break-word;">
<h2 dir="auto" style="margin-top: 0; margin-bottom: 1rem; border-bottom-style: solid; border-bottom-color: #dcdcde; font-weight: 600; font-size: 1.3125rem; letter-spacing: -0.01em; line-height: 1.25; color: #18171d; border-bottom-width: 1px; padding-bottom: 0.25rem;" align="initial">
<a href="#description-of-problem" aria-hidden="true" class="anchor" id="user-content-description-of-problem" style="margin-top: 0; float: left; margin-left: -20px; text-decoration: none; outline: none;"></a>Description of problem:</h2>
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">It seems that the SRP auth is disabled by default in 3.8.4 and later, is this wanted ? I did not find any information on this in the documentation.</p>
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">I tried to compile from the sources downloaded on the website (3.8.9) but I get a compile error if using the <code style='font-size: 90%; color: #18171d; word-wrap: break-word; border-radius: .25rem; background-color: #ececef; margin-top: 0; font-weight: inherit; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; white-space: pre-wrap; overflow-wrap: break-word; word-break: keep-all; padding: 0.125rem 0.25rem;'>--enable-srp-authentication</code> but compilation works on master with the same flag.</p>
<div class="gl-relative markdown-code-block js-markdown-code">
<pre class="code highlight js-syntax-highlight language-plaintext" v-pre="true" style='display: block; font-size: 14px; color: #3a383f; line-height: 1.6em; overflow-x: auto; border-radius: .25rem; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; margin: 0 0 1rem; padding: 12px; border: 1px solid #dcdcde;'><code style='font-size: inherit; color: inherit; word-wrap: normal; word-break: keep-all; border-radius: .25rem; background-color: inherit; white-space: pre; margin-top: 0; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; overflow-wrap: normal; padding: unset;'><span id="LC1" class="line" lang="plaintext" style="margin-top: 0;">In file included from ./str.h:28,</span>
<span id="LC2" class="line" lang="plaintext"> from ./auth.h:26,</span>
<span id="LC3" class="line" lang="plaintext"> from auth/srp_kx.h:26,</span>
<span id="LC4" class="line" lang="plaintext"> from srp.c:24:</span>
<span id="LC5" class="line" lang="plaintext">./gnutls_int.h:490:9: error: unknown type name 'gnutls_buffer_st'</span>
<span id="LC6" class="line" lang="plaintext"> 490 | gnutls_buffer_st data;</span>
<span id="LC7" class="line" lang="plaintext"> | ^~~~~~~~~~~~~~~~</span>
<span id="LC8" class="line" lang="plaintext">./gnutls_int.h:1215:9: error: unknown type name 'gnutls_buffer_st'</span>
<span id="LC9" class="line" lang="plaintext"> 1215 | gnutls_buffer_st</span>
<span id="LC10" class="line" lang="plaintext"> | ^~~~~~~~~~~~~~~~</span>
<span id="LC11" class="line" lang="plaintext">./gnutls_int.h:1301:9: error: unknown type name 'gnutls_buffer_st'</span>
<span id="LC12" class="line" lang="plaintext"> 1301 | gnutls_buffer_st early_data_presend_buffer;</span>
<span id="LC13" class="line" lang="plaintext"> | ^~~~~~~~~~~~~~~~</span>
<span id="LC14" class="line" lang="plaintext">./gnutls_int.h:1305:9: error: unknown type name 'gnutls_buffer_st'</span>
<span id="LC15" class="line" lang="plaintext"> 1305 | gnutls_buffer_st record_key_update_buffer;</span>
<span id="LC16" class="line" lang="plaintext"> | ^~~~~~~~~~~~~~~~</span>
<span id="LC17" class="line" lang="plaintext">./gnutls_int.h:1306:9: error: unknown type name 'gnutls_buffer_st'</span>
<span id="LC18" class="line" lang="plaintext"> 1306 | gnutls_buffer_st record_presend_buffer; /* holds cached data</span>
<span id="LC19" class="line" lang="plaintext"> | ^~~~~~~~~~~~~~~~</span>
<span id="LC20" class="line" lang="plaintext">./gnutls_int.h:1312:9: error: unknown type name 'gnutls_buffer_st'</span>
<span id="LC21" class="line" lang="plaintext"> 1312 | gnutls_buffer_st reauth_buffer;</span>
<span id="LC22" class="line" lang="plaintext"> | ^~~~~~~~~~~~~~~~</span>
<span id="LC23" class="line" lang="plaintext">./gnutls_int.h:1468:9: error: unknown type name 'gnutls_buffer_st'</span>
<span id="LC24" class="line" lang="plaintext"> 1468 | gnutls_buffer_st post_handshake_hash_buffer;</span>
<span id="LC25" class="line" lang="plaintext"> | ^~~~~~~~~~~~~~~~</span>
<span id="LC26" class="line" lang="plaintext">./gnutls_int.h:1546:9: error: unknown type name 'gnutls_buffer_st'</span>
<span id="LC27" class="line" lang="plaintext"> 1546 | gnutls_buffer_st full_client_hello;</span>
<span id="LC28" class="line" lang="plaintext"> | ^~~~~~~~~~~~~~~~</span>
<span id="LC29" class="line" lang="plaintext">./gnutls_int.h:1550:9: error: unknown type name 'gnutls_buffer_st'</span>
<span id="LC30" class="line" lang="plaintext"> 1550 | gnutls_buffer_st hb_local_data;</span>
<span id="LC31" class="line" lang="plaintext"> | ^~~~~~~~~~~~~~~~</span>
<span id="LC32" class="line" lang="plaintext">./gnutls_int.h:1551:9: error: unknown type name 'gnutls_buffer_st'</span>
<span id="LC33" class="line" lang="plaintext"> 1551 | gnutls_buffer_st hb_remote_data;</span>
<span id="LC34" class="line" lang="plaintext"> | ^~~~~~~~~~~~~~~~</span>
<span id="LC35" class="line" lang="plaintext">In file included from ./gnutls_int.h:1741:</span>
<span id="LC36" class="line" lang="plaintext">./algorithms.h:233:37: error: unknown type name 'gnutls_buffer_st'; did you mean 'gnutls_buffer_t'?</span>
<span id="LC37" class="line" lang="plaintext"> 233 | gnutls_buffer_st *cdata,</span>
<span id="LC38" class="line" lang="plaintext"> | ^~~~~~~~~~~~~~~~</span>
<span id="LC39" class="line" lang="plaintext"> | gnutls_buffer_t</span>
<span id="LC40" class="line" lang="plaintext">./algorithms.h:340:1: error: unknown type name 'mod_auth_st'</span>
<span id="LC41" class="line" lang="plaintext"> 340 | mod_auth_st *_gnutls_kx_auth_struct(gnutls_kx_algorithm_t algorithm);</span>
<span id="LC42" class="line" lang="plaintext"> | ^~~~~~~~~~~</span></code></pre>
<copy-code></copy-code><insert-code-snippet></insert-code-snippet>
</div>
<h2 dir="auto" style="margin-top: 1.5rem; margin-bottom: 1rem; border-bottom-style: solid; border-bottom-color: #dcdcde; font-weight: 600; font-size: 1.3125rem; letter-spacing: -0.01em; line-height: 1.25; color: #18171d; border-bottom-width: 1px; padding-bottom: 0.25rem;" align="initial">
<a href="#version-of-gnutls-used" aria-hidden="true" class="anchor" id="user-content-version-of-gnutls-used" style="margin-top: 0; float: left; margin-left: -20px; text-decoration: none; outline: none;"></a>Version of gnutls used:</h2>
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">3.8.4, 3.8.9, master</p>
<h2 dir="auto" style="margin-top: 1.5rem; margin-bottom: 1rem; border-bottom-style: solid; border-bottom-color: #dcdcde; font-weight: 600; font-size: 1.3125rem; letter-spacing: -0.01em; line-height: 1.25; color: #18171d; border-bottom-width: 1px; padding-bottom: 0.25rem;" align="initial">
<a href="#distributor-of-gnutls-eg-ubuntu-fedora-rhel" aria-hidden="true" class="anchor" id="user-content-distributor-of-gnutls-eg-ubuntu-fedora-rhel" style="margin-top: 0; float: left; margin-left: -20px; text-decoration: none; outline: none;"></a>Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)</h2>
<ul dir="auto" style="text-align: initial; list-style-type: disc; margin: 0 0 1rem; padding: 0;">
<li style="margin-top: 0; line-height: 1.6em; margin-left: 25px; padding-left: 3px;">Homebrew</li>
<li style="line-height: 1.6em; margin-left: 25px; padding-left: 3px;">MacPorts</li>
<li style="line-height: 1.6em; margin-left: 25px; padding-left: 3px;">Source tarball</li>
</ul>
<h2 dir="auto" style="margin-top: 1.5rem; margin-bottom: 1rem; border-bottom-style: solid; border-bottom-color: #dcdcde; font-weight: 600; font-size: 1.3125rem; letter-spacing: -0.01em; line-height: 1.25; color: #18171d; border-bottom-width: 1px; padding-bottom: 0.25rem;" align="initial">
<a href="#how-reproducible" aria-hidden="true" class="anchor" id="user-content-how-reproducible" style="margin-top: 0; float: left; margin-left: -20px; text-decoration: none; outline: none;"></a>How reproducible:</h2>
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">Steps to Reproduce:</p>
<ul dir="auto" style="text-align: initial; list-style-type: disc; margin: 0 0 1rem; padding: 0;">
<li style="margin-top: 0; line-height: 1.6em; margin-left: 25px; padding-left: 3px;">linking with a 3.8+ GnuTLS on mac (homebrew, MacPorts) or 3.8+ compiled with default configure script on linux</li>
<li style="line-height: 1.6em; margin-left: 25px; padding-left: 3px;">call <code style='font-size: 90%; color: #18171d; word-wrap: break-word; border-radius: .25rem; background-color: #ececef; margin-top: 0; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; white-space: pre-wrap; overflow-wrap: break-word; word-break: keep-all; padding: 0.125rem 0.25rem;'>gnutls_srp_allocate_server_credentials</code> func in a program.</li>
</ul>
<h2 dir="auto" style="margin-top: 1.5rem; margin-bottom: 1rem; border-bottom-style: solid; border-bottom-color: #dcdcde; font-weight: 600; font-size: 1.3125rem; letter-spacing: -0.01em; line-height: 1.25; color: #18171d; border-bottom-width: 1px; padding-bottom: 0.25rem;" align="initial">
<a href="#actual-results" aria-hidden="true" class="anchor" id="user-content-actual-results" style="margin-top: 0; float: left; margin-left: -20px; text-decoration: none; outline: none;"></a>Actual results:</h2>
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">An error:</p>
<div class="gl-relative markdown-code-block js-markdown-code">
<pre class="code highlight js-syntax-highlight language-plaintext" v-pre="true" style='display: block; font-size: 14px; color: #3a383f; line-height: 1.6em; overflow-x: auto; border-radius: .25rem; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; margin: 0 0 1rem; padding: 12px; border: 1px solid #dcdcde;'><code style='font-size: inherit; color: inherit; word-wrap: normal; word-break: keep-all; border-radius: .25rem; background-color: inherit; white-space: pre; margin-top: 0; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; overflow-wrap: normal; padding: unset;'><span id="LC1" class="line" lang="plaintext" style="margin-top: 0;">An unimplemented or disabled feature has been requested.</span></code></pre>
<copy-code></copy-code><insert-code-snippet></insert-code-snippet>
</div>
<h2 dir="auto" style="margin-top: 1.5rem; margin-bottom: 1rem; border-bottom-style: solid; border-bottom-color: #dcdcde; font-weight: 600; font-size: 1.3125rem; letter-spacing: -0.01em; line-height: 1.25; color: #18171d; border-bottom-width: 1px; padding-bottom: 0.25rem;" align="initial">
<a href="#expected-results" aria-hidden="true" class="anchor" id="user-content-expected-results" style="margin-top: 0; float: left; margin-left: -20px; text-decoration: none; outline: none;"></a>Expected results:</h2>
<p dir="auto" style="color: #3a383f; margin: 0;" align="initial">No error</p>
</div>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #626168;">
—
<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/-/issues/1668">view it on GitLab</a>.
<br>
You're receiving this email because of your account on <a target="_blank" rel="noopener noreferrer" href="https://gitlab.com">gitlab.com</a>. <a href="https://gitlab.com/-/sent_notifications/4189c624c04c63dc18a75a1009597aa6/unsubscribe" target="_blank" rel="noopener noreferrer">Unsubscribe</a> from this thread · <a href="https://gitlab.com/-/profile/notifications" target="_blank" rel="noopener noreferrer" class="mng-notif-link">Manage all notifications</a> · <a href="https://gitlab.com/help" target="_blank" rel="noopener noreferrer" class="help-link">Help</a>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.com/gnutls/gnutls/-/issues/1668"}}</script>
</p>
</div>
</body>
</html>