Commit 6ef15b34 authored by Simon Kelley's avatar Simon Kelley

Fix broken ECDSA DNSSEC signatures.

parent 3d04f463
...@@ -65,6 +65,8 @@ version 2.73 ...@@ -65,6 +65,8 @@ version 2.73
configured to do stateful DHCPv6. Thanks to Win King Wan configured to do stateful DHCPv6. Thanks to Win King Wan
for the patch. for the patch.
Fix broken DNSSEC validation of ECDSA signatures.
version 2.72 version 2.72
Add ra-advrouter mode, for RFC-3775 mobile IPv6 support. Add ra-advrouter mode, for RFC-3775 mobile IPv6 support.
......
...@@ -275,7 +275,7 @@ static int dnsmasq_ecdsa_verify(struct blockdata *key_data, unsigned int key_len ...@@ -275,7 +275,7 @@ static int dnsmasq_ecdsa_verify(struct blockdata *key_data, unsigned int key_len
} }
if (sig_len != 2*t || key_len != 2*t || if (sig_len != 2*t || key_len != 2*t ||
(p = blockdata_retrieve(key_data, key_len, NULL))) !(p = blockdata_retrieve(key_data, key_len, NULL)))
return 0; return 0;
mpz_import(x, t , 1, 1, 0, 0, p); mpz_import(x, t , 1, 1, 0, 0, p);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment