[gnutls-devel] GnuTLS | Replace `gnutls_rnd_works` hack in tests with a more reliable mechanism (#1220)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Sat May 1 09:31:22 CEST 2021
Daiki Ueno created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1220
Some [tests](https://gitlab.com/gnutls/gnutls/-/blob/master/tests/tls13/prf.c#L76) replace `gnutls_rnd` symbol dynamically, with `visibility ("protected")`. This only works with special support of linker and needs check after `gnutls_handshake` (which indirectly calls `gnutls_rnd`) whether the replacement has been called.
Maybe we should have a private function similar to `_gnutls_global_set_gettime_function` to explicitly set a custom random function.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1220
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/20210501/8b9348fa/attachment.html>
More information about the Gnutls-devel
mailing list