[gnutls-devel] GnuTLS | fips: add mechanism to embed FIPS module name in the library (!1508)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Tue Jan 11 16:54:10 CET 2022
Daiki Ueno commented on a discussion on lib/global.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1508#note_807206895
> + RUNTIME_LINKER;
> +
> +_GL_NORETURN_FUNC extern void __libgnutls_main (void);
> +void
> +__libgnutls_main (void)
> +{
> + const gnutls_library_config_st *p;
> +
> + fwrite(banner_header, 1, sizeof(banner_header)-1, stdout);
> +
> + fprintf(stdout, "Library configuration:\n");
> + for (p = _gnutls_library_config; p->name; p++) {
> + fprintf(stdout, " %s: %s\n", p->name, p->value);
> + }
> +
> + fwrite(banner_footer, 1, sizeof(banner_footer)-1, stdout);
Thank you for the suggestion; rewritten using `write`.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1508#note_807206895
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/20220111/5de23964/attachment.html>
More information about the Gnutls-devel
mailing list