Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 581726 Details for
Bug 688778
net-dns/dnsmasq-2.80 with dev-libs/nettle-3.5: nettle_secp_256r1 undeclared
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
nettle-3.5.patch to allow build of net-dns/dnsmasq-3.80
nettle-3.5.patch (text/plain), 1.35 KB, created by
Jeff Kowalczyk
on 2019-07-01 19:04:37 UTC
(
hide
)
Description:
nettle-3.5.patch to allow build of net-dns/dnsmasq-3.80
Filename:
MIME Type:
Creator:
Jeff Kowalczyk
Created:
2019-07-01 19:04:37 UTC
Size:
1.35 KB
patch
obsolete
>commit 6fd9aba7abe1e084123bc5002959350897774ace >Author: Vladislav Grishenko <themiron@mail.ru> >Date: Wed Jun 26 20:27:11 2019 +0500 > > Fix build with libnettle 3.5 > >diff --git a/src/crypto.c b/src/crypto.c >index 1f1c12b..9cfe371 100644 >--- a/src/crypto.c >+++ b/src/crypto.c >@@ -296,6 +296,10 @@ static int dnsmasq_ecdsa_verify(struct blockdata *key_data, unsigned int key_len > static struct ecc_point *key_256 = NULL, *key_384 = NULL; > static mpz_t x, y; > static struct dsa_signature *sig_struct; >+#if NETTLE_VERSION_MAJOR == 3 && NETTLE_VERSION_MINOR < 4 >+#define nettle_get_secp_256r1() (&nettle_secp_256r1) >+#define nettle_get_secp_384r1() (&nettle_secp_384r1) >+#endif > > if (!sig_struct) > { >@@ -315,7 +319,7 @@ static int dnsmasq_ecdsa_verify(struct blockdata *key_data, unsigned int key_len > if (!(key_256 = whine_malloc(sizeof(struct ecc_point)))) > return 0; > >- nettle_ecc_point_init(key_256, &nettle_secp_256r1); >+ nettle_ecc_point_init(key_256, nettle_get_secp_256r1()); > } > > key = key_256; >@@ -328,7 +332,7 @@ static int dnsmasq_ecdsa_verify(struct blockdata *key_data, unsigned int key_len > if (!(key_384 = whine_malloc(sizeof(struct ecc_point)))) > return 0; > >- nettle_ecc_point_init(key_384, &nettle_secp_384r1); >+ nettle_ecc_point_init(key_384, nettle_get_secp_384r1()); > } > > key = key_384;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 688778
:
581118
|
581724
| 581726 |
581728