blob: 33a046f8c0be125c1b267752a9ca0db4d5046740 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Test that the krb5.h header is compatible with C++ application code.
#include <stdio.h>
#include "krb5.h"
#include "krb5/locate_plugin.h"
#include "profile.h"
int main (int argc, char *argv[])
{
krb5_context ctx;
if (krb5_init_context(&ctx) != 0) {
printf("krb5_init_context returned an error\n");
return 1;
}
printf("hello, world\n");
return 0;
}
|