summaryrefslogtreecommitdiff
path: root/kasetkey
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2008-04-24 02:02:49 +0000
committerRuss Allbery <rra@stanford.edu>2008-04-24 02:02:49 +0000
commit92ff7f21ad0b167f8d742a9d7b5f93704a57619c (patch)
tree7adae5f227b6463e07d5cd0f1dab82b7f1c6be47 /kasetkey
parent34c58f9471b3df4fa8b719b3c3534940ba5cfe1b (diff)
Major coding style cleanup. Updated all shared code from my other
projects. The configure option requesting AFS kaserver support (and thus building kasetkey) is now --with-kaserver instead of --with-afs. If KRB5_CONFIG was explicitly set in the environment, don't use a different krb5-config based on --with-krb4 or --with-krb5. If krb5-config isn't executable, don't use it. This allows one to force library probing by setting KRB5_CONFIG to point to a nonexistent file. Sanity-check the results of krb5-config before proceeding and error out in configure if they don't work. Stop setting Stanford-specific compile-time defaults for the wallet server and port.
Diffstat (limited to 'kasetkey')
-rw-r--r--kasetkey/kasetkey.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/kasetkey/kasetkey.c b/kasetkey/kasetkey.c
index 6a8a35c..d40a9bb 100644
--- a/kasetkey/kasetkey.c
+++ b/kasetkey/kasetkey.c
@@ -16,14 +16,11 @@
*/
#include <config.h>
+#include <portable/system.h>
#include <errno.h>
#include <fcntl.h>
-#include <stdlib.h>
-#include <string.h>
#include <sys/stat.h>
-#include <sys/types.h>
-#include <unistd.h>
#ifdef HAVE_KERBEROSIV_KRB_H
# include <kerberosIV/krb.h>