summaryrefslogtreecommitdiffstats
path: root/test_magic_differs_helper.c
blob: 6798827abb1d27ecf481072216ee015a3b142b9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <stdio.h>
#include "talloc.h"

/*
 * This program is called by a testing shell script in order to ensure that
 * if the library is loaded into different processes it uses different magic
 * values in order to thwart security attacks.
 */
int main(int argc, char *argv[]) {
	printf("%i\n", talloc_test_get_magic());
	return 0;
}