[gnutls-devel] GnuTLS | Redefinition of rsa_oaep_* symbols when compiled with Nettle 3.10 (#1565)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Tue Jul 23 09:02:21 CEST 2024
Daiki Ueno created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1565
When building in Fedora rawhide, where Nettle 3.10 is available, I see the following warnings:
```console
In file included from ../../../lib/nettle/backport/rsa-oaep-encrypt.c:40:
../../../lib/nettle/int/rsa-oaep.h:44:9: warning: "rsa_oaep_sha256_encrypt" redefined
44 | #define rsa_oaep_sha256_encrypt gnutls_nettle_backport_rsa_oaep_sha256_encrypt
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../../lib/nettle/backport/rsa-oaep-encrypt.c:39:
/usr/include/nettle/rsa.h:91:9: note: this is the location of the previous definition
91 | #define rsa_oaep_sha256_encrypt nettle_rsa_oaep_sha256_encrypt
| ^~~~~~~~~~~~~~~~~~~~~~~
../../../lib/nettle/int/rsa-oaep.h:45:9: warning: "rsa_oaep_sha256_decrypt" redefined
45 | #define rsa_oaep_sha256_decrypt gnutls_nettle_backport_rsa_oaep_sha256_decrypt
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/nettle/rsa.h:92:9: note: this is the location of the previous definition
92 | #define rsa_oaep_sha256_decrypt nettle_rsa_oaep_sha256_decrypt
| ^~~~~~~~~~~~~~~~~~~~~~~
../../../lib/nettle/int/rsa-oaep.h:46:9: warning: "rsa_oaep_sha384_encrypt" redefined
46 | #define rsa_oaep_sha384_encrypt gnutls_nettle_backport_rsa_oaep_sha384_encrypt
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/nettle/rsa.h:93:9: note: this is the location of the previous definition
93 | #define rsa_oaep_sha384_encrypt nettle_rsa_oaep_sha384_encrypt
| ^~~~~~~~~~~~~~~~~~~~~~~
../../../lib/nettle/int/rsa-oaep.h:47:9: warning: "rsa_oaep_sha384_decrypt" redefined
47 | #define rsa_oaep_sha384_decrypt gnutls_nettle_backport_rsa_oaep_sha384_decrypt
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/nettle/rsa.h:94:9: note: this is the location of the previous definition
94 | #define rsa_oaep_sha384_decrypt nettle_rsa_oaep_sha384_decrypt
| ^~~~~~~~~~~~~~~~~~~~~~~
../../../lib/nettle/int/rsa-oaep.h:48:9: warning: "rsa_oaep_sha512_encrypt" redefined
48 | #define rsa_oaep_sha512_encrypt gnutls_nettle_backport_rsa_oaep_sha512_encrypt
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/nettle/rsa.h:95:9: note: this is the location of the previous definition
95 | #define rsa_oaep_sha512_encrypt nettle_rsa_oaep_sha512_encrypt
| ^~~~~~~~~~~~~~~~~~~~~~~
../../../lib/nettle/int/rsa-oaep.h:49:9: warning: "rsa_oaep_sha512_decrypt" redefined
49 | #define rsa_oaep_sha512_decrypt gnutls_nettle_backport_rsa_oaep_sha512_decrypt
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/nettle/rsa.h:96:9: note: this is the location of the previous definition
96 | #define rsa_oaep_sha512_decrypt nettle_rsa_oaep_sha512_decrypt
| ^~~~~~~~~~~~~~~~~~~~~~~
```
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1565
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/20240723/b35d4496/attachment.html>
More information about the Gnutls-devel
mailing list