unitanchor.c File Reference

Calls trust anchor unit tests. More...

#include "config.h"
#include "util/log.h"
#include "util/data/dname.h"
#include "testcode/unitmain.h"
#include "validator/val_anchor.h"

Functions

static void test_anchor_empty (struct val_anchors *a)
 test empty set
static void test_anchor_one (ldns_buffer *buff, struct val_anchors *a)
 test set of one anchor
static void test_anchors (ldns_buffer *buff, struct val_anchors *a)
 test with several anchors
void anchors_test ()
 unit test trust anchor storage functions


Detailed Description

Calls trust anchor unit tests.

Exits with code 1 on a failure.


Generated on Mon Nov 16 11:51:37 2009 for unbound by  doxygen 1.5.9