<!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 class="details" style="font-style: italic; color: #777;">
<a href="https://gitlab.com/robUx4">Steve Lhomme</a> created a merge request:
</p>
<p>
</p>
<div class="branch">
Project:Branches: robUx4/gnutls:mangle-ecc_scalar_random to gnutls/gnutls:master
</div>
<div class="author">
Author: Steve Lhomme
</div>
<div class="assignee">
Assignees: 
</div>
<div class="approvers">

</div>

<div>
<p dir="auto">GNUTLS builds <code>ecc-random.c</code> but <code>ecc_scalar_random()</code> is a public API. So we
should use the public API, otherwise we end up with the same public symbol
defined twice when linking with GNUTLS and nettle. We could also mangle it
in <code>ecc-internal.h</code> and use the version we build. But it's easier to patch
<code>ecc-random.c</code>.</p>
<p dir="auto"><code>ecc_mod_random()</code> is unaffected as it's an internal API that is mangled by GNUTLS.</p>
<p dir="auto">Fixes <a href="https://gitlab.com/gnutls/gnutls/-/issues/1016" data-original="#1016" data-link="false" data-link-reference="false" data-project="179611" data-issue="35440073" data-reference-type="issue" data-container="body" data-placement="top" data-html="true" title="ecc_scalar_random in nettle is public but not mangled in GnuTLS" class="gfm gfm-issue has-tooltip">#1016</a></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/-/merge_requests/1300">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/addef5c784e6af46cd8af8c69ed8f4d2/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/1300"}}</script>


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