summaryrefslogtreecommitdiffstats
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.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/kadmin/cli/keytab_local.c b/src/kadmin/cli/keytab_local.c
new file mode 100644
index 000000000..1f029a7a9
--- /dev/null
+++ b/src/kadmin/cli/keytab_local.c
@@ -0,0 +1,9 @@
+/*
+ * 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"