Blame test_magic_differs_helper.c
|
rpm-build |
95f51c |
#include <stdio.h>
|
|
rpm-build |
95f51c |
#include "talloc.h"
|
|
rpm-build |
95f51c |
|
|
rpm-build |
95f51c |
/*
|
|
rpm-build |
95f51c |
* This program is called by a testing shell script in order to ensure that
|
|
rpm-build |
95f51c |
* if the library is loaded into different processes it uses different magic
|
|
rpm-build |
95f51c |
* values in order to thwart security attacks.
|
|
rpm-build |
95f51c |
*/
|
|
rpm-build |
95f51c |
int main(int argc, char *argv[]) {
|
|
rpm-build |
95f51c |
printf("%i\n", talloc_test_get_magic());
|
|
rpm-build |
95f51c |
return 0;
|
|
rpm-build |
95f51c |
}
|