summaryrefslogtreecommitdiff
path: root/regress/usr.sbin/rpki-client/dummy.c
blob: 1d5f98ea7ac8e4837c73a443d74aea7afc685755 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
 * Public domain
 * dummy shim for some tests.
 */

#include "extern.h"

struct auth *
auth_find(struct auth_tree *auths, const char *aki)
{
	return NULL;
}

int
as_check_covered(uint32_t min, uint32_t max,
    const struct cert_as *as, size_t asz)
{
	return -1;
}

int
ip_addr_check_covered(enum afi afi,
    const unsigned char *min, const unsigned char *max,
    const struct cert_ip *ips, size_t ipsz)
{
	return -1;
}

void
ip_addr_print(const struct ip_addr *addr,
    enum afi afi, char *buf, size_t bufsz)
{
}