summaryrefslogtreecommitdiffstats
path: root/src/kadmin/cli/keytab_local.c
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2007-04-16 22:03:54 +0000
committerRuss Allbery <rra@stanford.edu>2007-04-16 22:03:54 +0000
commitf77d9feb2bb1d9e136b9cf7392aa78951bda4c9a (patch)
tree56b17cc109f7a57dc7bd398f3db5983439bba0ed /src/kadmin/cli/keytab_local.c
parent4fc0ae1c5a5abdd76e1e75f96b81b37be5595a5e (diff)
downloadkrb5-f77d9feb2bb1d9e136b9cf7392aa78951bda4c9a.tar.gz
krb5-f77d9feb2bb1d9e136b9cf7392aa78951bda4c9a.tar.xz
krb5-f77d9feb2bb1d9e136b9cf7392aa78951bda4c9a.zip
Add the new kadm5srv function krb5_get_principal_keys to the export list
Build a separate copy of kadmin/cli/keytab.c for kadmin.local that exposes the -norandkey flag in a way that doesn't require the compiler support -c and -o at the same time. Ticket: 914 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19475 dc483132-0cff-0310-8789-dd5450dbe970
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"