aboutsummaryrefslogtreecommitdiffstats
path: root/librecrypt_free_context.c
blob: 481282f295097f8c07cc85b0db9b8ea325340135 (plain) (blame)
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
/* See LICENSE file for copyright and license details. */
#include "common.h"
#ifndef TEST


void
librecrypt_free_context(LIBRECRYPT_CONTEXT *ctx)
{
	librecrypt_wipe(ctx, sizeof(*ctx));
	free(ctx);
}


#else


int
main(void)
{
	SET_UP_ALARM();
	INIT_RESOURCE_TEST();

	/* TODO test */

	STOP_RESOURCE_TEST();
	return 0;
}


#endif