summaryrefslogtreecommitdiff
path: root/src/kadmin/cli/keytab_local.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kadmin/cli/keytab_local.c')
-rw-r--r--src/kadmin/cli/keytab_local.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/kadmin/cli/keytab_local.c b/src/kadmin/cli/keytab_local.c
new file mode 100644
index 000000000000..bb9cd88dfc58
--- /dev/null
+++ b/src/kadmin/cli/keytab_local.c
@@ -0,0 +1,10 @@
+/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/*
+ * A wrapper around keytab.c used by kadmin.local to expose the -norandkey
+ * flag. This avoids building two object files from the same source file,
+ * which is otherwise tricky with compilers that don't support -c and -o
+ * at the same time.
+ */
+
+#define KADMIN_LOCAL
+#include "keytab.c"