mirror of
https://github.com/monero-project/monero.git
synced 2025-05-10 21:15:05 -04:00
Upgrade unbound library
These files were pulled from the 1.6.3 release tarball. This new version builds against OpenSSL version 1.1 which will be the default in the new Debian Stable which is due to be released RealSoonNow (tm).
This commit is contained in:
parent
e3da0ca828
commit
a85b5759f3
241 changed files with 33336 additions and 12049 deletions
4
external/unbound/util/data/packed_rrset.c
vendored
4
external/unbound/util/data/packed_rrset.c
vendored
|
@ -158,14 +158,14 @@ rrsetdata_equal(struct packed_rrset_data* d1, struct packed_rrset_data* d2)
|
|||
return 1;
|
||||
}
|
||||
|
||||
hashvalue_t
|
||||
hashvalue_type
|
||||
rrset_key_hash(struct packed_rrset_key* key)
|
||||
{
|
||||
/* type is hashed in host order */
|
||||
uint16_t t = ntohs(key->type);
|
||||
/* Note this MUST be identical to pkt_hash_rrset in msgparse.c */
|
||||
/* this routine does not have a compressed name */
|
||||
hashvalue_t h = 0xab;
|
||||
hashvalue_type h = 0xab;
|
||||
h = dname_query_hash(key->dname, h);
|
||||
h = hashlittle(&t, sizeof(t), h);
|
||||
h = hashlittle(&key->rrset_class, sizeof(uint16_t), h);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue