File: test_crypto.c

package info (click to toggle)
knot 3.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 16,804 kB
  • sloc: ansic: 153,806; sh: 5,822; python: 1,141; makefile: 817
file content (26 lines) | stat: -rw-r--r-- 493 bytes parent folder | download
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
/*  Copyright (C) CZ.NIC, z.s.p.o. and contributors
 *  SPDX-License-Identifier: GPL-2.0-or-later
 *  For more information, see <https://www.knot-dns.cz/>
 */

#include <tap/basic.h>

#include "crypto.h"

int main(void)
{
	plan_lazy();

	// not much we can test

	dnssec_crypto_init();
	ok(1, "dnssec_crypto_init() didn't crash");

	dnssec_crypto_reinit();
	ok(1, "dnssec_crypto_reinit() didn't crash");

	dnssec_crypto_cleanup();
	ok(1, "dnssec_crypto_cleanup() didn't crash");

	return 0;
}