[gnutls-devel] GnuTLS | Use soname instead of file name in fipshmac sections (!1675)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Tue Dec 6 16:09:04 CET 2022




Zoltán Fridrich commented on a discussion on lib/fipshmac.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1675#note_1198311762

> -		return EXIT_FAILURE;
> -
> -	ret = print_lib_dl(NETTLE_LIBRARY_SONAME, "nettle_aes_set_encrypt_key");
> -	if (ret < 0)
> -		return EXIT_FAILURE;
> -	
> -	ret = print_lib_dl(HOGWEED_LIBRARY_SONAME, "nettle_mpz_sizeinbase_256_u");
> -	if (ret < 0)
> -		return EXIT_FAILURE;
> -	
> -	ret = print_lib_dl(GMP_LIBRARY_SONAME, "__gmpz_init");
> -	if (ret < 0)
> -		return EXIT_FAILURE;
> -
> -	return EXIT_SUCCESS;
> +	return dl_iterate_phdr(callback, argc == 2 ? argv[1] : NULL);

How do we want to change the fipshmac behaviour when the function dl_iterate_phdr is not defined? Do we want to output some error message and let the program end with 0?

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1675#note_1198311762
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/20221206/b67a180c/attachment-0001.html>


More information about the Gnutls-devel mailing list