mirror of
https://github.com/monero-project/monero.git
synced 2025-05-02 11:16:07 -04:00
update libunbound
This commit is contained in:
parent
ce974949e2
commit
6a1190792b
59 changed files with 4449 additions and 2465 deletions
3
external/unbound/testcode/unitmsgparse.c
vendored
3
external/unbound/testcode/unitmsgparse.c
vendored
|
@ -497,9 +497,11 @@ testfromdrillfile(sldns_buffer* pkt, struct alloc_cache* alloc,
|
|||
|
||||
void msgparse_test(void)
|
||||
{
|
||||
time_t origttl = MAX_NEG_TTL;
|
||||
sldns_buffer* pkt = sldns_buffer_new(65553);
|
||||
sldns_buffer* out = sldns_buffer_new(65553);
|
||||
struct alloc_cache super_a, alloc;
|
||||
MAX_NEG_TTL = 86400;
|
||||
/* init */
|
||||
alloc_init(&super_a, NULL, 0);
|
||||
alloc_init(&alloc, &super_a, 2);
|
||||
|
@ -536,4 +538,5 @@ void msgparse_test(void)
|
|||
alloc_clear(&super_a);
|
||||
sldns_buffer_free(pkt);
|
||||
sldns_buffer_free(out);
|
||||
MAX_NEG_TTL = origttl;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue