summaryrefslogtreecommitdiff
path: root/daemon/pk/tests/unit-test-memory-stubs.c
blob: dee8cac25339901cfc5192f7f66bf851d3fe82e2 (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

#include <glib.h>

#include "common/gkr-secure-memory.h"
 
/* 
 * These are called from gkr-secure-memory.c to provide appropriate
 * locking for memory between threads
 */ 

void
gkr_memory_lock (void)
{

}

void 
gkr_memory_unlock (void)
{

}

void*
gkr_memory_fallback (void *p, unsigned long sz)
{
	return g_realloc (p, sz);
}