[gnutls-devel] GnuTLS | Mangle/hide GNUTLS-built ecc_scalar_random() (!1300)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Wed Jul 15 09:38:06 CEST 2020

Steve Lhomme created a merge request: https://gitlab.com/gnutls/gnutls/-/merge_requests/1300

Project:Branches: robUx4/gnutls:mangle-ecc_scalar_random to gnutls/gnutls:master
Author:    Steve Lhomme

GNUTLS builds `ecc-random.c` but `ecc_scalar_random()` 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 `ecc-internal.h` and use the version we build. But it's easier to patch

`ecc_mod_random()` is unaffected as it's an internal API that is mangled by GNUTLS.

Fixes #1016

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1300
You're receiving this email because of your account on gitlab.com.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20200715/5c8e1f44/attachment.html>

More information about the Gnutls-devel mailing list