Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/crypto/krb5/src/tests/misc/test_cxx_kadm5.cpp
34907 views
1
// Test that the kadm5 header is compatible with C++ application code.
2
3
#include "kadm5/admin.h"
4
5
krb5_context ctx;
6
kadm5_config_params p_in, p_out;
7
int main (int argc, char *argv[])
8
{
9
if (argc == 47 && kadm5_get_config_params(ctx, 1, &p_in, &p_out)) {
10
printf("error\n");
11
return 1;
12
}
13
printf("hello, world\n");
14
return 0;
15
}
16
17