[gnutls-devel] GnuTLS | configure.ac: fix "nettle_rsa_sec_decrypt" check error (!1389)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Wed Feb 17 18:11:22 CET 2021




Andreas Metzler commented on a discussion: https://gitlab.com/gnutls/gnutls/-/merge_requests/1389#note_511377355

I suspect it is triggered by your static-library-only setup. - I guess libnettle is only present as libnettle.a using it  requires linking against libgmp.a?

If that was the case, you need to set different NETTLE_LIBS and than you do.

What does config.log say?
It looks like this here:
~~~
configure:66498: checking for nettle_get_secp_192r1 in -lhogweed
configure:66523: gcc -o conftest -g -O2 -ffile-prefix-map=/dev/shm/GNUTLS/gnutls-3.7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lhogweed -lhogweed -lnettle  >&5
configure:66523: $? = 0
configure:66532: result: yes
configure:66561: checking for nettle_rsa_sec_decrypt
configure:66561: gcc -o conftest -g -O2 -ffile-prefix-map=/dev/shm/GNUTLS/gnutls-3.7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c  -lhogweed -lnettle >&5
configure:66561: $? = 0
configure:66561: result: yes
configure:66580: checking for nettle_gost28147_set_key
~~~

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1389#note_511377355
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/20210217/5904d77c/attachment.html>


More information about the Gnutls-devel mailing list